Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc27f651

Browse files
authored
Don't use/// comments, whose content must be Markdown in Java 23
1 parentcb70fb7 commitc27f651

File tree

46 files changed

+250
-250
lines changed

Some content is hidden

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

46 files changed

+250
-250
lines changed

‎checker-util/src/main/java/org/checkerframework/checker/regex/util/RegexUtil.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,9 @@ public static boolean noStringMatchesAnyRegex(
426426
returntrue;
427427
}
428428

429-
///
430-
/// Utilities
431-
///
429+
//
430+
// Utilities
431+
//
432432

433433
// This is from CollectionsPlume, but is here to make the file self-contained.
434434

‎checker/build.gradle‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ if (skipDelombok) {
370370
tasks.test.dependsOn('delombok')
371371
}
372372

373-
///
374-
/// Tests of the -Ainfer command-line argument. These are not whole-program inference tests.
375-
///
373+
//
374+
// Tests of the -Ainfer command-line argument. These are not whole-program inference tests.
375+
//
376376

377377
test {
378378
useJUnit {
@@ -884,9 +884,9 @@ task ainferTest(group: 'Verification') {
884884
dependsOn('ainferResourceLeakAjavaTest')
885885
}
886886

887-
///
888-
/// Whole-program inference tests
889-
///
887+
//
888+
// Whole-program inference tests
889+
//
890890

891891
// This is run as part of the inferenceTests task.
892892
taskwpiManyTest(group:'Verification') {

‎checker/jtreg/nullness/defaultsPersist/ReferenceInfoUtil.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static List<TypeAnnotation> extendedAnnotationsOf(
3939
returnannos;
4040
}
4141

42-
/////////////////// Extract type annotations //////////////////
42+
// /////////////////// Extract type annotations //////////////////
4343
privatevoidfindAnnotations(ClassFilecf,List<TypeAnnotation>annos) {
4444
findAnnotations(cf,Attribute.RuntimeVisibleTypeAnnotations,annos);
4545
findAnnotations(cf,Attribute.RuntimeInvisibleTypeAnnotations,annos);
@@ -130,7 +130,7 @@ private static void findAnnotations(
130130
}
131131
}
132132

133-
/////////////////////// Equality testing /////////////////////
133+
// /////////////////////// Equality testing /////////////////////
134134
privatestaticbooleanareEquals(inta,intb) {
135135
returna ==b ||a ==IGNORE_VALUE ||b ==IGNORE_VALUE;
136136
}

‎checker/jtreg/nullness/inheritDeclAnnoPersist/ReferenceInfoUtil.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static List<Annotation> extendedAnnotationsOf(ClassFile cf) {
2323
returnannos;
2424
}
2525

26-
/////////////////// Extract annotations //////////////////
26+
// /////////////////// Extract annotations //////////////////
2727
privatestaticvoidfindAnnotations(ClassFilecf,List<Annotation>annos) {
2828
for (Methodm :cf.methods) {
2929
findAnnotations(cf,m,Attribute.RuntimeVisibleAnnotations,annos);

‎checker/src/main/java/org/checkerframework/checker/i18nformatter/I18nFormatterVisitor.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ protected boolean commonAssignmentCheck(
159159
}
160160
}
161161

162-
/// TODO: What does "take precedence over" mean? Both are issued, but the
163-
/// "i18nformat.excess.arguments" appears first in the output. Is this meant to not call
164-
/// super.commonAssignmentCheck() if `result` is already false?
162+
// TODO: What does "take precedence over" mean? Both are issued, but the
163+
// "i18nformat.excess.arguments" appears first in the output. Is this meant to not call
164+
// super.commonAssignmentCheck() if `result` is already false?
165165
// By calling super.commonAssignmentCheck() last, any "i18nformat.excess.arguments"
166166
// message issued for a given line of code will take precedence over the "assignment"
167167
// issued by super.commonAssignmentCheck().

‎checker/src/main/java/org/checkerframework/checker/index/samelen/SameLenAnnotatedTypeFactory.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ public List<String> getSameLensFromString(
361361
returnAnnotationUtils.getElementValueArray(sameLenAnno,sameLenValueElement,String.class);
362362
}
363363

364-
///
365-
/// Creating @SameLen annotations
366-
///
364+
//
365+
// Creating @SameLen annotations
366+
//
367367

368368
/**
369369
* Creates a @SameLen annotation whose values are the given strings.

‎checker/src/main/java/org/checkerframework/checker/interning/com-sun.astub‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public class Repository {
3333
}
3434

3535

36-
///////////////////////////////////////////////////////////////////////////
37-
/// public static final @Interned String (initialized to constant)
38-
///
36+
// ///////////////////////////////////////////////////////////////////////////
37+
// public static final @Interned String (initialized to constant)
38+
//
3939

4040
package com.sun.imageio.plugins.gif;
4141
public class GIFStreamMetadata {

‎checker/tests/calledmethods-usevaluechecker/GenerateDataKeyRequestExamples.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void setTwice4(AWSKMS client) {
101101
client.generateDataKey(request);
102102
}
103103

104-
/// Interprocedural
104+
// Interprocedural
105105

106106
voidcallee2(
107107
AWSKMSclient,

‎checker/tests/nonempty/IndexOfNonNegative.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ public boolean removeAll(Collection<?> c) {
7171
@Override
7272
publicvoidclear() {}
7373

74-
///////////////////////////////////////////////////////////////////////////
75-
74+
// ///////////////////////////////////////////////////////////////////////////
7675
// iterators
7776

7877
@Override

‎checker/tests/nonempty/SizeInIsEmpty.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public boolean isEmpty3() {
3939
returnsize() ==0;
4040
}
4141

42-
//// iterators
42+
// iterators
4343

4444
@Override
4545
public@PolyNonEmptyIterator<E>iterator(@PolyNonEmptySizeInIsEmpty<E>this) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp