Skip to content

Commit 3a01e6f

Browse files
committed
Remove comments that are no longer applicable.
1 parent eb58fd3 commit 3a01e6f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/org/truffleruby/core/range/RangeNodes.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ protected RubyBaseNodeWithExecute coerceToBoolean(RubyBaseNodeWithExecute exclud
471471

472472
@Specialization(guards = "rubyClass == getRangeClass()")
473473
protected RubyIntRange intRange(RubyClass rubyClass, int begin, int end, boolean excludeEnd) {
474-
// Not a Range subclass, we can use the shape directly.
475474
final RubyIntRange range = new RubyIntRange(
476475
excludeEnd,
477476
begin,
@@ -481,7 +480,6 @@ protected RubyIntRange intRange(RubyClass rubyClass, int begin, int end, boolean
481480

482481
@Specialization(guards = { "rubyClass == getRangeClass()", "fitsInInteger(begin)", "fitsInInteger(end)" })
483482
protected RubyIntRange longFittingIntRange(RubyClass rubyClass, long begin, long end, boolean excludeEnd) {
484-
// Not a Range subclass, we can use the shape directly.
485483
final RubyIntRange range = new RubyIntRange(
486484
excludeEnd,
487485
(int) begin,
@@ -491,7 +489,6 @@ protected RubyIntRange longFittingIntRange(RubyClass rubyClass, long begin, long
491489

492490
@Specialization(guards = { "rubyClass == getRangeClass()", "!fitsInInteger(begin) || !fitsInInteger(end)" })
493491
protected RubyLongRange longRange(RubyClass rubyClass, long begin, long end, boolean excludeEnd) {
494-
// Not a Range subclass, we can use the shape directly.
495492
final RubyLongRange range = new RubyLongRange(
496493
excludeEnd,
497494
begin,

0 commit comments

Comments
 (0)