Skip to content

Commit 30b8969

Browse files
committed
Update copyright to Apache 2.0
1 parent d263444 commit 30b8969

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+592
-470
lines changed

affinity-test/src/main/java/net/openhft/affinity/osgi/OSGiPlaceholder.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity.osgi;

affinity-test/src/test/java/net/openhft/affinity/osgi/OSGiBundleTest.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity.osgi;

affinity-test/src/test/java/net/openhft/affinity/osgi/OSGiTestBase.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity.osgi;

affinity/src/main/java/java/lang/ThreadLifecycleListener.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package java.lang;

affinity/src/main/java/java/lang/ThreadTrackingGroup.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package java.lang;

affinity/src/main/java/net/openhft/affinity/Affinity.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity;
@@ -155,16 +156,16 @@ public static BitSet getAffinity() {
155156
return AFFINITY_IMPL.getAffinity();
156157
}
157158

159+
public static void setAffinity(final BitSet affinity) {
160+
AFFINITY_IMPL.setAffinity(affinity);
161+
}
162+
158163
public static void setAffinity(int cpu) {
159164
BitSet affinity = new BitSet(Runtime.getRuntime().availableProcessors());
160165
affinity.set(cpu);
161166
setAffinity(affinity);
162167
}
163168

164-
public static void setAffinity(final BitSet affinity) {
165-
AFFINITY_IMPL.setAffinity(affinity);
166-
}
167-
168169
public static int getCpu() {
169170
return AFFINITY_IMPL.getCpu();
170171
}

affinity/src/main/java/net/openhft/affinity/AffinityLock.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity;

affinity/src/main/java/net/openhft/affinity/AffinityStrategies.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity;

affinity/src/main/java/net/openhft/affinity/AffinityStrategy.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity;

affinity/src/main/java/net/openhft/affinity/AffinitySupport.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
/*
2-
* Copyright (C) 2015 higherfrequencytrading.com
2+
* Copyright 2016 higherfrequencytrading.com
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU Lesser General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
77
*
8-
* This program is distributed in the hope that it will be useful,
9-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11-
* GNU Lesser General Public License for more details.
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1215
*
13-
* You should have received a copy of the GNU Lesser General Public License
14-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1516
*/
1617

1718
package net.openhft.affinity;

0 commit comments

Comments
 (0)