From 2dbc3c32a98c232dfd127377f27c7cec9d24f6f9 Mon Sep 17 00:00:00 2001 From: "Anna.Kozlova" Date: Wed, 19 Apr 2017 14:05:10 +0200 Subject: [PATCH] fix testdata --- .../while_loop_spins_on_field/afterSimple.java | 16 ---------------- .../afterSimpleCodeBlockJava9.java | 16 ---------------- .../afterSimpleHasSpinWaitJava9.java | 16 ---------------- .../afterSimpleJava9.java | 16 ---------------- .../afterVolatileJava9.java | 16 ---------------- .../while_loop_spins_on_field/beforeSimple.java | 16 ---------------- .../beforeSimpleCodeBlockJava9.java | 16 ---------------- .../beforeSimpleHasSpinWaitJava9.java | 16 ---------------- .../beforeSimpleJava9.java | 16 ---------------- .../beforeVolatile.java | 16 ---------------- .../beforeVolatileJava9.java | 16 ---------------- 11 files changed, 176 deletions(-) diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimple.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimple.java index e9800d25484b..37e90167d5d5 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimple.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimple.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile'" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleCodeBlockJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleCodeBlockJava9.java index 5a8648693a44..4aed56e9c424 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleCodeBlockJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleCodeBlockJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile' and add Thread.onSpinWait()" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleHasSpinWaitJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleHasSpinWaitJava9.java index f126b3c82aec..80465707b96a 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleHasSpinWaitJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleHasSpinWaitJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile'" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleJava9.java index 5a8648693a44..4aed56e9c424 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterSimpleJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile' and add Thread.onSpinWait()" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterVolatileJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterVolatileJava9.java index b5a9331c3da0..b76022116ea2 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterVolatileJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/afterVolatileJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Add Thread.onSpinWait()" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimple.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimple.java index 79c6bd373196..f170c7545dd0 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimple.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimple.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile'" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleCodeBlockJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleCodeBlockJava9.java index 31dfa3faaad1..b7999b336052 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleCodeBlockJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleCodeBlockJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile' and add Thread.onSpinWait()" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleHasSpinWaitJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleHasSpinWaitJava9.java index 3d781f056ab8..3c09691e5d9c 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleHasSpinWaitJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleHasSpinWaitJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile'" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleJava9.java index 2e7c4022abbb..76ad4fa9a97a 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeSimpleJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Declare field 'b' as 'volatile' and add Thread.onSpinWait()" "true" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatile.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatile.java index a3f72cdb1366..843399ddd971 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatile.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatile.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Fix all ''while' loop spins on field' problems in file" "false" import java.util.*; diff --git a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatileJava9.java b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatileJava9.java index 9356c1ec32e6..da48b35473eb 100644 --- a/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatileJava9.java +++ b/plugins/InspectionGadgets/test/com/siyeh/igtest/threading/while_loop_spins_on_field/beforeVolatileJava9.java @@ -1,19 +1,3 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // "Add Thread.onSpinWait()" "true" import java.util.*;