FakeSqlArray#toString() v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Thu, 16 Jan 2014 12:23:16 +0100
branchv_0
changeset 1648cc7862605a1
parent 163 1df10a9be6f4
child 165 871185e406b3
FakeSqlArray#toString()
java/sql-dk/src/info/globalcode/sql/dk/formatting/FakeSqlArray.java
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/formatting/FakeSqlArray.java	Wed Jan 15 22:22:45 2014 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/formatting/FakeSqlArray.java	Thu Jan 16 12:23:16 2014 +0100
     1.3 @@ -40,6 +40,16 @@
     1.4  	}
     1.5  
     1.6  	@Override
     1.7 +	public String toString() {
     1.8 +		StringBuilder string = new StringBuilder();
     1.9 +		for (Object o : data) {
    1.10 +			string.append(o);
    1.11 +			string.append("\n");
    1.12 +		}
    1.13 +		return string.toString();
    1.14 +	}
    1.15 +
    1.16 +	@Override
    1.17  	public String getBaseTypeName() throws SQLException {
    1.18  		return baseType.name();
    1.19  	}