diff options
author | Tomasz Zarna | 2013-06-18 20:37:30 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-07-18 17:10:53 +0000 |
commit | f858973866ead9bea8e74f5c02c933015acc9275 (patch) | |
tree | da9b363d10886d6d130692e5af0876d0138ee683 | |
parent | ef790aa53a0a5c3227e108f153963f46403e6eef (diff) | |
download | org.eclipse.mylyn.tasks-f858973866ead9bea8e74f5c02c933015acc9275.tar.gz org.eclipse.mylyn.tasks-f858973866ead9bea8e74f5c02c933015acc9275.tar.xz org.eclipse.mylyn.tasks-f858973866ead9bea8e74f5c02c933015acc9275.zip |
remove an apparent infinite recursive loop in Chart
Luckily, nobody seems to ever call it.
Change-Id: I53b733a5b1a722515001f9389317b9562afbbb8f
Signed-off-by: Tomasz Zarna <tomasz.zarna@tasktop.com>
-rw-r--r-- | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/Chart.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/Chart.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/Chart.java index db14f06e4..b886bde26 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/Chart.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/Chart.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 Frank Becker and others. + * Copyright (c) 2011, 2013 Frank Becker and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -66,18 +66,6 @@ public class Chart implements Serializable { } row.add(columnIndex, expression); } - - } - - public void addRow(int index) { - int size = expressions.size(); - if (index > size) { - index = size; - } - if (index < 0) { - index = 0; - } - addRow(index); } public int getRowSize() { |