From 5f15983eb00d42407b2312eef967d9de7d26eccc Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Mon, 8 Jun 2015 17:13:18 +0300 Subject: [PATCH] toString added --- platform/util/src/com/intellij/util/Range.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/util/Range.java b/platform/util/src/com/intellij/util/Range.java index f3ba307adff4..6c7b4c30e109 100644 --- a/platform/util/src/com/intellij/util/Range.java +++ b/platform/util/src/com/intellij/util/Range.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2009 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,4 +41,9 @@ public class Range> { public T getTo() { return myTo; } + + @Override + public String toString() { + return "(" + myFrom + "," + myTo + ")"; + } }