Skip to content

Commit 85bf4a4

Browse files
author
Christian Wimmer
committed
Remove unnecessary Checkstyle comments
1 parent 024d2fa commit 85bf4a4

File tree

190 files changed

+66
-539
lines changed

Some content is hidden

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

190 files changed

+66
-539
lines changed

substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/util/AnalysisError.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,7 @@ public static void guarantee(boolean condition) {
169169

170170
public static void guarantee(boolean condition, String format, Object... args) {
171171
if (!condition) {
172-
// Checkstyle: stop
173172
throw new AnalysisError(String.format(format, args));
174-
// Checkstyle: resume
175173
}
176174
}
177175

substratevm/src/com.oracle.objectfile/src/com/oracle/objectfile/ObjectFile.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
*/
2525
package com.oracle.objectfile;
2626

27-
// Checkstyle: allow reflection
28-
2927
import java.io.IOException;
3028
import java.lang.reflect.Field;
3129
import java.lang.reflect.Method;

substratevm/src/com.oracle.svm.common/src/com/oracle/svm/common/option/CommonOptionParser.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
package com.oracle.svm.common.option;
2828

29-
// Checkstyle: allow reflection
30-
3129
import java.io.PrintStream;
3230
import java.util.ArrayList;
3331
import java.util.Arrays;

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/CompleteGarbageCollectorMXBean.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
package com.oracle.svm.core.genscavenge;
2626

27-
//Checkstyle: stop
2827
import java.lang.management.ManagementFactory;
2928

3029
import javax.management.MBeanNotificationInfo;
@@ -40,7 +39,6 @@
4039
import com.sun.management.GcInfo;
4140

4241
import sun.management.Util;
43-
//Checkstyle: resume
4442

4543
public final class CompleteGarbageCollectorMXBean implements com.sun.management.GarbageCollectorMXBean, NotificationEmitter {
4644

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/IncrementalGarbageCollectorMXBean.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
*/
2525
package com.oracle.svm.core.genscavenge;
2626

27-
//Checkstyle: stop
2827
import java.lang.management.ManagementFactory;
2928

3029
import javax.management.MBeanNotificationInfo;
@@ -40,7 +39,6 @@
4039
import com.sun.management.GcInfo;
4140

4241
import sun.management.Util;
43-
//Checkstyle: resume
4442

4543
public final class IncrementalGarbageCollectorMXBean implements com.sun.management.GarbageCollectorMXBean, NotificationEmitter {
4644

substratevm/src/com.oracle.svm.core.genscavenge/src/com/oracle/svm/core/genscavenge/RuntimeImageHeapChunkWriter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
import com.oracle.svm.core.genscavenge.remset.RememberedSet;
3535
import com.oracle.svm.core.image.ImageHeapObject;
3636

37-
// Checkstyle: stop
3837
import sun.nio.ch.DirectBuffer;
39-
// Checkstyle: resume
4038

4139
/** Chunk writer that uses the same methods as memory management during image runtime. */
4240
public class RuntimeImageHeapChunkWriter implements ImageHeapChunkWriter {

substratevm/src/com.oracle.svm.core.graal.llvm/src/com/oracle/svm/core/graal/llvm/LLVMGenerator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,9 +2030,7 @@ private static int initDataCacheLineFlushSize() {
20302030
return 0;
20312031
}
20322032
try {
2033-
// Checkstyle: stop
20342033
Class<?> c = Class.forName("jdk.internal.misc.UnsafeConstants");
2035-
// Checkstyle: resume
20362034
return ReflectionUtil.readStaticField(c, "DATA_CACHE_LINE_FLUSH_SIZE");
20372035
} catch (ClassNotFoundException e) {
20382036
throw new GraalError(e, "Expected UnsafeConstants.DATA_CACHE_LINE_FLUSH_SIZE to exist and be readable");

substratevm/src/com.oracle.svm.core.graal.llvm/src/com/oracle/svm/core/graal/llvm/replacements/LLVMGraphBuilderPlugins.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
*/
2525
package com.oracle.svm.core.graal.llvm.replacements;
2626

27-
// Checkstyle: stop
28-
2927
import java.lang.reflect.Type;
3028
import java.util.Arrays;
3129

@@ -52,8 +50,6 @@
5250
import jdk.vm.ci.meta.JavaKind;
5351
import jdk.vm.ci.meta.ResolvedJavaMethod;
5452

55-
// Checkstyle: resume
56-
5753
public class LLVMGraphBuilderPlugins implements TargetGraphBuilderPlugins {
5854

5955
@Override

substratevm/src/com.oracle.svm.core.jdk17/src/com/oracle/svm/core/jdk17/RecordSupportJDK17OrLater.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
*/
2525
package com.oracle.svm.core.jdk17;
2626

27-
// Checkstyle: allow reflection
28-
2927
import java.lang.reflect.Constructor;
3028
import java.lang.reflect.Method;
3129
import java.lang.reflect.RecordComponent;

substratevm/src/com.oracle.svm.core.jdk17/src/com/oracle/svm/core/jdk17/SealedClassSupportJDK17OrLater.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@
2424
*/
2525
package com.oracle.svm.core.jdk17;
2626

27-
// Checkstyle: allow reflection
28-
29-
import com.oracle.svm.core.annotate.AutomaticFeature;
30-
import com.oracle.svm.core.jdk.SealedClassSupport;
3127
import org.graalvm.compiler.serviceprovider.JavaVersionUtil;
3228
import org.graalvm.nativeimage.ImageSingletons;
3329
import org.graalvm.nativeimage.hosted.Feature;
3430

31+
import com.oracle.svm.core.annotate.AutomaticFeature;
32+
import com.oracle.svm.core.jdk.SealedClassSupport;
33+
3534
final class SealedClassSupportJDK17OrLater extends SealedClassSupport {
3635

3736
@Override

0 commit comments

Comments
 (0)