From 1ae4c7dd5523bac3199c639cd79b0e5ec0583e82 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 26 May 2008 18:09:16 +0000 Subject: small eye candy bugfix :) --- sources/prefs/editors/VSEditor.java | 3 ++- sources/utils/VSTools.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sources') diff --git a/sources/prefs/editors/VSEditor.java b/sources/prefs/editors/VSEditor.java index 4436825..39a057f 100644 --- a/sources/prefs/editors/VSEditor.java +++ b/sources/prefs/editors/VSEditor.java @@ -364,7 +364,8 @@ public abstract class VSEditor implements ActionListener { } try { - valField.setText(buffer.toString().substring(0, buffer.length()-1)+"]"); + valField.setText(vec.toString()); + //valField.setText(buffer.toString().substring(0, buffer.length()-1)+"]"); } catch (StringIndexOutOfBoundsException e) { valField.setText("[]"); } diff --git a/sources/utils/VSTools.java b/sources/utils/VSTools.java index ca65fe6..80ba3ab 100644 --- a/sources/utils/VSTools.java +++ b/sources/utils/VSTools.java @@ -55,7 +55,6 @@ public final class VSTools { */ public static Vector parseIntegerVector(String string) throws exceptions.ParseIntegerVectorException { - System.out.println("parse " + string); Vector vec = new Vector(); int index = string.indexOf('['); -- cgit v1.2.3