8331879: Clean up non-standard use of /// comments in java.base

Reviewed-by: naoto, iris, darcy
This commit is contained in:
Jonathan Gibbons 2024-05-31 22:16:35 +00:00
parent 2cae9a0397
commit 10eb1cb639
25 changed files with 117 additions and 117 deletions

View file

@ -354,9 +354,9 @@ public class GregorianCalendar extends Calendar {
* accurate.
*/
//////////////////
//----------------
// Class Variables
//////////////////
//----------------
/**
* Value of the {@code ERA} field indicating
@ -513,9 +513,9 @@ public class GregorianCalendar extends Calendar {
// The default value of gregorianCutover.
static final long DEFAULT_GREGORIAN_CUTOVER = -12219292800000L;
/////////////////////
//-------------------
// Instance Variables
/////////////////////
//-------------------
/**
* The point at which the Gregorian calendar rules are used, measured in
@ -579,9 +579,9 @@ public class GregorianCalendar extends Calendar {
*/
private transient int[] originalFields;
///////////////
//-------------
// Constructors
///////////////
//-------------
/**
* Constructs a default {@code GregorianCalendar} using the current time
@ -748,9 +748,9 @@ public class GregorianCalendar extends Calendar {
gdate = gcal.newCalendarDate(getZone());
}
/////////////////
//---------------
// Public methods
/////////////////
//---------------
/**
* Sets the {@code GregorianCalendar} change date. This is the point when the switch
@ -2254,9 +2254,9 @@ public class GregorianCalendar extends Calendar {
return gc.getActualMaximum(WEEK_OF_YEAR);
}
/////////////////////////////
//---------------------------
// Time => Fields computation
/////////////////////////////
//---------------------------
/**
* The fixed date corresponding to gdate. If the value is

View file

@ -166,7 +166,7 @@ class CharPredicates {
JOIN_CONTROL());
}
/////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------
private static CharPredicate getPosixPredicate(String name, boolean caseIns) {
return switch (name) {
@ -234,7 +234,7 @@ class CharPredicates {
return getPosixPredicate(propName.toUpperCase(Locale.ENGLISH), caseIns);
}
/////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------
/**
* Returns a predicate matching all characters belong to a named
@ -411,7 +411,7 @@ class CharPredicates {
return (BmpCharPredicate)ch -> ch < 128 && ASCII.isType(ch, ctype);
}
/////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------
/**
* Posix ASCII variants, not in the lookup map
@ -426,7 +426,7 @@ class CharPredicates {
return ch -> ch < 128 && ASCII.isSpace(ch);
}
/////////////////////////////////////////////////////////////////////////////
//---------------------------------------------------------------------------
/**
* Emoji related binary properties