Skip to content

Commit 4905b34

Browse files
committed
Typo and style changes
1 parent 2ef9fa9 commit 4905b34

File tree

11 files changed

+43
-37
lines changed

11 files changed

+43
-37
lines changed

library/src/scala/Boolean.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ final abstract class Boolean private extends AnyVal {
114114

115115
object Boolean extends AnyValCompanion {
116116

117-
/** Transform a value type into a boxed reference type.
117+
/** Transforms a value type into a boxed reference type.
118118
*
119119
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToBoolean`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
120120
*
@@ -123,7 +123,7 @@ object Boolean extends AnyValCompanion {
123123
*/
124124
def box(x: Boolean): java.lang.Boolean = ???
125125

126-
/** Transform a boxed type into a value type. Note that this
126+
/** Transforms a boxed type into a value type. Note that this
127127
* method is not typesafe: it accepts any Object, but will throw
128128
* an exception if the argument is not a java.lang.Boolean.
129129
*

library/src/scala/Byte.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ object Byte extends AnyValCompanion {
455455
/** The largest value representable as a Byte. */
456456
final val MaxValue = java.lang.Byte.MAX_VALUE
457457

458-
/** Transform a value type into a boxed reference type.
458+
/** Transforms a value type into a boxed reference type.
459459
*
460460
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToByte`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
461461
*
@@ -464,7 +464,7 @@ object Byte extends AnyValCompanion {
464464
*/
465465
def box(x: Byte): java.lang.Byte = ???
466466

467-
/** Transform a boxed type into a value type. Note that this
467+
/** Transforms a boxed type into a value type. Note that this
468468
* method is not typesafe: it accepts any Object, but will throw
469469
* an exception if the argument is not a java.lang.Byte.
470470
*

library/src/scala/Char.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ object Char extends AnyValCompanion {
455455
/** The largest value representable as a Char. */
456456
final val MaxValue = java.lang.Character.MAX_VALUE
457457

458-
/** Transform a value type into a boxed reference type.
458+
/** Transforms a value type into a boxed reference type.
459459
*
460460
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToCharacter`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
461461
*
@@ -464,7 +464,7 @@ object Char extends AnyValCompanion {
464464
*/
465465
def box(x: Char): java.lang.Character = ???
466466

467-
/** Transform a boxed type into a value type. Note that this
467+
/** Transforms a boxed type into a value type. Note that this
468468
* method is not typesafe: it accepts any Object, but will throw
469469
* an exception if the argument is not a java.lang.Character.
470470
*

library/src/scala/Double.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ object Double extends AnyValCompanion {
230230
/** The largest finite positive number representable as a Double. */
231231
final val MaxValue = java.lang.Double.MAX_VALUE
232232

233-
/** Transform a value type into a boxed reference type.
233+
/** Transforms a value type into a boxed reference type.
234234
*
235235
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToDouble`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
236236
*
@@ -239,7 +239,7 @@ object Double extends AnyValCompanion {
239239
*/
240240
def box(x: Double): java.lang.Double = ???
241241

242-
/** Transform a boxed type into a value type. Note that this
242+
/** Transforms a boxed type into a value type. Note that this
243243
* method is not typesafe: it accepts any Object, but will throw
244244
* an exception if the argument is not a java.lang.Double.
245245
*

library/src/scala/Float.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ object Float extends AnyValCompanion {
230230
/** The largest finite positive number representable as a Float. */
231231
final val MaxValue = java.lang.Float.MAX_VALUE
232232

233-
/** Transform a value type into a boxed reference type.
233+
/** Transforms a value type into a boxed reference type.
234234
*
235235
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToFloat`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
236236
*
@@ -239,7 +239,7 @@ object Float extends AnyValCompanion {
239239
*/
240240
def box(x: Float): java.lang.Float = ???
241241

242-
/** Transform a boxed type into a value type. Note that this
242+
/** Transforms a boxed type into a value type. Note that this
243243
* method is not typesafe: it accepts any Object, but will throw
244244
* an exception if the argument is not a java.lang.Float.
245245
*

library/src/scala/Function0.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
// GENERATED CODE: DO NOT EDIT.
14-
// genprod generated these sources at: 2025-08-11T12:52:13.642685846Z
14+
// genprod generated these sources at: 2025-08-11T15:48:23.228867353Z
1515

1616
package scala
1717

library/src/scala/Int.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ object Int extends AnyValCompanion {
455455
/** The largest value representable as an Int. */
456456
final val MaxValue = java.lang.Integer.MAX_VALUE
457457

458-
/** Transform a value type into a boxed reference type.
458+
/** Transforms a value type into a boxed reference type.
459459
*
460460
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToInteger`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
461461
*
@@ -464,7 +464,7 @@ object Int extends AnyValCompanion {
464464
*/
465465
def box(x: Int): java.lang.Integer = ???
466466

467-
/** Transform a boxed type into a value type. Note that this
467+
/** Transforms a boxed type into a value type. Note that this
468468
* method is not typesafe: it accepts any Object, but will throw
469469
* an exception if the argument is not a java.lang.Integer.
470470
*

library/src/scala/Long.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ object Long extends AnyValCompanion {
452452
/** The largest value representable as a Long. */
453453
final val MaxValue = java.lang.Long.MAX_VALUE
454454

455-
/** Transform a value type into a boxed reference type.
455+
/** Transforms a value type into a boxed reference type.
456456
*
457457
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToLong`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
458458
*
@@ -461,7 +461,7 @@ object Long extends AnyValCompanion {
461461
*/
462462
def box(x: Long): java.lang.Long = ???
463463

464-
/** Transform a boxed type into a value type. Note that this
464+
/** Transforms a boxed type into a value type. Note that this
465465
* method is not typesafe: it accepts any Object, but will throw
466466
* an exception if the argument is not a java.lang.Long.
467467
*

library/src/scala/Short.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ object Short extends AnyValCompanion {
455455
/** The largest value representable as a Short. */
456456
final val MaxValue = java.lang.Short.MAX_VALUE
457457

458-
/** Transform a value type into a boxed reference type.
458+
/** Transforms a value type into a boxed reference type.
459459
*
460460
* Runtime implementation determined by `scala.runtime.BoxesRunTime.boxToShort`. See [[https://github.com/scala/scala src/library/scala/runtime/BoxesRunTime.java]].
461461
*
@@ -464,7 +464,7 @@ object Short extends AnyValCompanion {
464464
*/
465465
def box(x: Short): java.lang.Short = ???
466466

467-
/** Transform a boxed type into a value type. Note that this
467+
/** Transforms a boxed type into a value type. Note that this
468468
* method is not typesafe: it accepts any Object, but will throw
469469
* an exception if the argument is not a java.lang.Short.
470470
*

library/src/scala/Unit.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final abstract class Unit private extends AnyVal {
3131
@scala.annotation.compileTimeOnly("`Unit` companion object is not allowed in source; instead, use `()` for the unit value")
3232
object Unit extends AnyValCompanion {
3333

34-
/** Transform a value type into a boxed reference type.
34+
/** Transforms a value type into a boxed reference type.
3535
*
3636
* This method is not intended for use in source code.
3737
* The runtime representation of this value is platform specific.
@@ -41,7 +41,7 @@ object Unit extends AnyValCompanion {
4141
*/
4242
def box(x: Unit): scala.runtime.BoxedUnit = scala.runtime.BoxedUnit.UNIT
4343

44-
/** Transform a boxed type into a value type. Note that this
44+
/** Transforms a boxed type into a value type. Note that this
4545
* method is not typesafe: it accepts any Object, but will throw
4646
* an exception if the argument is not a scala.runtime.BoxedUnit.
4747
*

0 commit comments

Comments
 (0)