Mercurial > dive4elements > gnv-client
changeset 897:02cd2935b5fa
Removed trailing whitespace.
geo-backend/trunk@1013 c6561f87-3c4e-4783-a992-168aeb5c3f6f
line wrap: on
line diff
--- a/geo-backend/ChangeLog Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/ChangeLog Wed Apr 28 07:04:19 2010 +0000 @@ -1,3 +1,16 @@ +2010-04-28 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + * src/test/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleanerTestCase.java, + src/main/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleaner.java, + src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java, + src/main/java/de/intevation/gnv/geobackend/base/query/CachingQueryExecutorFactory.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEUtils.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/DatasourceException.java, + src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java: Removed + trailing whitespace. + 2010-04-20 Tim Englich <tim.englich@intevation.de> * src/test/ressources/QueryExecutorTestCase.properties,
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/CachingQueryExecutorFactory.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/CachingQueryExecutorFactory.java Wed Apr 28 07:04:19 2010 +0000 @@ -55,7 +55,7 @@ Cache cache = manager.getCache(CACHE_NAME); cache.put(new Element(query, results)); } - + public void clearCache(String[] tableNames) { Cache cache = manager.getCache(CACHE_NAME); Iterator keys = cache.getKeys().iterator();
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java Wed Apr 28 07:04:19 2010 +0000 @@ -22,8 +22,8 @@ * @return the fetched Values * @throws QueryException */ - Collection<Result> executeQuery(String queryID, - String[] filter) + Collection<Result> executeQuery(String queryID, + String[] filter) throws QueryException; /**
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleaner.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleaner.java Wed Apr 28 07:04:19 2010 +0000 @@ -33,12 +33,12 @@ * The Systemproperty-identifier for the Configuration of the TimeInterval */ public static final String CACHE_CLEANER_INTERVAL = "caching.cleaner.interval"; - + /** * The Time To wait between two Cleanups. */ private long timeout = 1000 * 60; // 1 Minute - + /** * The Border which has to be used to Query the updated Tables. */ @@ -127,7 +127,7 @@ super(arg0, arg1, arg2, arg3); this.setUp(); } - + /** * Sets up the members of the CacheCleaner. */ @@ -197,7 +197,7 @@ } catch (QueryException e) { log.error(e,e); } - + } /** @@ -213,7 +213,7 @@ log.debug("New Lookup at "+DateUtils.getPatternedDateAmer(new Date(lowerBorderTime))); String queryDate = DateUtils.getPatternedDateAmer(date); Collection<Result> result = queryExecutor. - executeQuery(queryID, + executeQuery(queryID, new String[]{queryDate}); if (result != null && !result.isEmpty()){ tableNames = new String[result.size()];
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEUtils.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEUtils.java Wed Apr 28 07:04:19 2010 +0000 @@ -14,7 +14,7 @@ /** * The class <code>ArcSDEUtils</code> fulfills the following purposes: - * + * * @author blume * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/Row.java Wed Apr 28 07:04:19 2010 +0000 @@ -49,9 +49,9 @@ int nLength = ArrayStr.length; for (int i=0; i < nLength; i++){ addObject(ArrayStr[i], i); - - } - + + } + } /** @@ -73,7 +73,7 @@ */ public Object getValue(int pPos) throws TechnicalException { if (pPos < mObjects.length) { - + Object o = mObjects[pPos]; if (o instanceof SeShape){ return this.getPosValue(pPos); @@ -100,20 +100,20 @@ try { Calendar lCalendar = (Calendar) getValue(pPos); date = lCalendar.getTime(); - } + } catch (ClassCastException e) { try{ //SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss"); date = DateUtils.getDateFromString ((String)getValue(pPos)); //(Date)formatter.parse((String)getValue(pPos)); - - + + } catch (Exception ex){ sLogger.error(getValue(pPos) + " " + ex.getMessage(), ex); throw new TechnicalException("Could not cast this value to the Date Type. Object is of value type: " + getValue(pPos).getClass().getName()); } - } - + } + return date; } @@ -210,14 +210,14 @@ * @return a strongly typed Float * @throws TechnicalException * @see #getValue(int) - */ + */ public String getPosValue(int pPos)throws TechnicalException{ StringBuffer returnValue = new StringBuffer(); synchronized (returnValue) { try { SeShape val = (SeShape) this.mObjects[pPos]; if (val.isPoint()){ - // Cannot use val.asText() because the + // Cannot use val.asText() because the // generated WKT is invalid. ArrayList aList = val.getAllPoints(0,false); SDEPoint[] mPoint = (SDEPoint[])aList.get(0); @@ -230,7 +230,7 @@ } returnValue.append(")"); }else if (val.isLine() || val.isSimpleLine()){ - // Cannot use val.asText() because the + // Cannot use val.asText() because the // generated WKT is invalid. ArrayList aList = val.getAllPoints(0,false); SDEPoint[] mPoint = (SDEPoint[])aList.get(0); @@ -239,7 +239,7 @@ int nextOffset = length; int[] offsets = (int[])aList.get(1); int offsetPos = 1; - + if(isMultiLineString){ returnValue.append("MULTILINESTRING(("); nextOffset = offsets.length-1 >= offsetPos ? offsets[offsetPos++] : length; @@ -248,12 +248,12 @@ } for (int i = 0; i< length;i++){ - + if (i == nextOffset){ returnValue.append("),("); nextOffset = offsets.length-1 >= offsetPos ? offsets[offsetPos++] : length; } - + returnValue.append(mPoint[i].getX()) .append(" ") .append(mPoint[i].getY()); @@ -270,14 +270,14 @@ }else{ returnValue.append(")"); } - + } else{ returnValue.append(val.asText(val.getTextSize())); } } catch (SeException e) { throw new TechnicalException("Could not cast this value to the " + "Float Type. Object is of value " + - "type: " + + "type: " + getValue(pPos).getClass().getName()); } }
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java Wed Apr 28 07:04:19 2010 +0000 @@ -34,44 +34,44 @@ /** * SDEResultSet is an Implementation of the Interface @see java.sql.resultSet - * It is an Wrapper between the resultsets whcih are produced using the ArcSDE + * It is an Wrapper between the resultsets whcih are produced using the ArcSDE * and the Java-Interface for the Representation of ResultSets. * @author blume * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> */ public class SDEResultSet extends ResultSet { - + /** * Default Logging instance */ private static Logger log = Logger.getLogger(SDEResultSet.class); - + private List<Row> mRows = Collections.synchronizedList(new ArrayList<Row>()); private List<ColDefinition> mCols = Collections.synchronizedList(new ArrayList<ColDefinition>()); - + private Row currentRow = null; private int cursor = 0; - + /** * Constructor */ public SDEResultSet() { } - + /** * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getCount() */ public int getCount() { return mRows.size(); } - + /** * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getNumberOfColumns() */ public int getNumberOfColumns() { return mCols.size(); } - + /** * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getColumnDefinitions() */ @@ -79,7 +79,7 @@ ColDefinition[] lColDefinitions = new ColDefinition[mCols.size()]; return mCols.toArray(lColDefinitions); } - + /** * @see de.intevation.gnv.geobackend.sde.datasources.ResultSet#getResults() */ @@ -87,7 +87,7 @@ Row[] lRows = new Row[mRows.size()]; return mRows.toArray(lRows); } - + /** * Add an Row to the Resultset * @param pRow The Row that should be added. @@ -103,261 +103,261 @@ public void addCol(ColDefinition pColDefinition) { mCols.add(pColDefinition); } - + /** * @see java.sql.ResultSet#absolute(int) */ public boolean absolute(int row) throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#afterLast() */ public void afterLast() throws SQLException { } - + /** * @see java.sql.ResultSet#beforeFirst() */ public void beforeFirst() throws SQLException { } - + /** * @see java.sql.ResultSet#cancelRowUpdates() */ public void cancelRowUpdates() throws SQLException { } - + /** * @see java.sql.ResultSet#clearWarnings() */ public void clearWarnings() throws SQLException { } - + /** * @see java.sql.ResultSet#close() */ public void close() throws SQLException { } - + /** * @see java.sql.ResultSet#deleteRow() */ public void deleteRow() throws SQLException { } - + /** * @see java.sql.ResultSet#findColumn(java.lang.String) */ public int findColumn(String columnName) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#first() */ public boolean first() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#getArray(int) */ public Array getArray(int i) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getArray(java.lang.String) */ public Array getArray(String colName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getAsciiStream(int) */ public InputStream getAsciiStream(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getAsciiStream(java.lang.String) */ public InputStream getAsciiStream(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBigDecimal(int) */ public BigDecimal getBigDecimal(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBigDecimal(java.lang.String) */ public BigDecimal getBigDecimal(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBigDecimal(int, int) */ public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int) */ public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBinaryStream(int) */ public InputStream getBinaryStream(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBinaryStream(java.lang.String) */ public InputStream getBinaryStream(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBlob(int) */ public Blob getBlob(int i) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBlob(java.lang.String) */ public Blob getBlob(String colName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBoolean(int) */ public boolean getBoolean(int columnIndex) throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#getBoolean(java.lang.String) */ public boolean getBoolean(String columnName) throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#getByte(int) */ public byte getByte(int columnIndex) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getByte(java.lang.String) */ public byte getByte(String columnName) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getBytes(int) */ public byte[] getBytes(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getBytes(java.lang.String) */ public byte[] getBytes(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getCharacterStream(int) */ public Reader getCharacterStream(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getCharacterStream(java.lang.String) */ public Reader getCharacterStream(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getClob(int) */ public Clob getClob(int i) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getClob(java.lang.String) */ public Clob getClob(String colName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getConcurrency() */ public int getConcurrency() throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getCursorName() */ public String getCursorName() throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getDate(int) */ @@ -369,7 +369,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getDate(java.lang.String) */ @@ -377,23 +377,23 @@ int columnIndex = this.getColumnIndex(columnName); return this.getDate(columnIndex); } - + /** * @see java.sql.ResultSet#getDate(int, java.util.Calendar) */ public Date getDate(int columnIndex, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar) */ public Date getDate(String columnName, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getDouble(int) */ @@ -405,7 +405,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getDouble(java.lang.String) */ @@ -413,23 +413,23 @@ int columnIndex = this.getColumnIndex(columnName); return this.getDouble(columnIndex); } - + /** * @see java.sql.ResultSet#getFetchDirection() */ public int getFetchDirection() throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getFetchSize() */ public int getFetchSize() throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getFloat(int) */ @@ -441,7 +441,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getFloat(java.lang.String) */ @@ -449,12 +449,12 @@ int columnIndex = this.getColumnIndex(columnName); return this.getFloat(columnIndex); } - + /** * @see java.sql.ResultSet#getInt(int) */ public int getInt(int columnIndex) throws SQLException { - + try { return this.currentRow.getIntValue(columnIndex-1); } catch (TechnicalException e) { @@ -462,7 +462,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getInt(java.lang.String) */ @@ -470,23 +470,23 @@ int columnIndex = this.getColumnIndex(columnName); return this.getInt(columnIndex); } - + /** * @see java.sql.ResultSet#getLong(int) */ public long getLong(int columnIndex) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getLong(java.lang.String) */ public long getLong(String columnName) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getMetaData() */ @@ -494,7 +494,7 @@ log.debug("SDEREsultSet.getMetaData"); return new ArcSDEResultSetMetaData(this.mCols); } - + /** * @see java.sql.ResultSet#getObject(int) */ @@ -506,7 +506,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getObject(java.lang.String) */ @@ -514,78 +514,78 @@ int columnIndex = this.getColumnIndex(columnName); return this.getObject(columnIndex); } - + /** * @see java.sql.ResultSet#getObject(int, java.util.Map) */ public Object getObject(int i, Map<String, Class<?>> map) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map) */ public Object getObject(String colName, Map<String, Class<?>> map) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getRef(int) */ public Ref getRef(int i) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getRef(java.lang.String) */ public Ref getRef(String colName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getRow() */ public int getRow() throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getShort(int) */ public short getShort(int columnIndex) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getShort(java.lang.String) */ public short getShort(String columnName) throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getStatement() */ public Statement getStatement() throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getString(int) */ public String getString(int columnIndex) throws SQLException { - + try { return this.currentRow.getStringValue(columnIndex-1); } catch (TechnicalException e) { @@ -593,7 +593,7 @@ throw new SQLException(e.getMessage()); } } - + /** * @see java.sql.ResultSet#getString(java.lang.String) */ @@ -601,185 +601,185 @@ int columnIndex = this.getColumnIndex(columnName); return this.getString(columnIndex); } - + /** * @see java.sql.ResultSet#getTime(int) */ public Time getTime(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTime(java.lang.String) */ public Time getTime(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTime(int, java.util.Calendar) */ public Time getTime(int columnIndex, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar) */ public Time getTime(String columnName, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTimestamp(int) */ public Timestamp getTimestamp(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTimestamp(java.lang.String) */ public Timestamp getTimestamp(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar) */ public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getTimestamp(java.lang.String, * java.util.Calendar) */ public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getType() */ public int getType() throws SQLException { - + return 0; } - + /** * @see java.sql.ResultSet#getURL(int) */ public URL getURL(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getURL(java.lang.String) */ public URL getURL(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getUnicodeStream(int) */ public InputStream getUnicodeStream(int columnIndex) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getUnicodeStream(java.lang.String) */ public InputStream getUnicodeStream(String columnName) throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#getWarnings() */ public SQLWarning getWarnings() throws SQLException { - + return null; } - + /** * @see java.sql.ResultSet#insertRow() */ public void insertRow() throws SQLException { } - + /** * @see java.sql.ResultSet#isAfterLast() */ public boolean isAfterLast() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#isBeforeFirst() */ public boolean isBeforeFirst() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#isFirst() */ public boolean isFirst() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#isLast() */ public boolean isLast() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#last() */ public boolean last() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#moveToCurrentRow() */ public void moveToCurrentRow() throws SQLException { } - + /** * @see java.sql.ResultSet#moveToInsertRow() */ public void moveToInsertRow() throws SQLException { } - + /** * @see java.sql.ResultSet#next() */ public boolean next() throws SQLException { - + boolean next = this.mRows.size() > this.cursor; if (next){ //log.debug("Zeile "+(cursor+1)+" von "+this.mRows.size()+" wird angesteuert."); @@ -790,84 +790,84 @@ } return next; } - + /** * @see java.sql.ResultSet#previous() */ public boolean previous() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#refreshRow() */ public void refreshRow() throws SQLException { } - + /** * @see java.sql.ResultSet#relative(int) */ public boolean relative(int rows) throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#rowDeleted() */ public boolean rowDeleted() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#rowInserted() */ public boolean rowInserted() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#rowUpdated() */ public boolean rowUpdated() throws SQLException { - + return false; } - + /** * @see java.sql.ResultSet#setFetchDirection(int) */ public void setFetchDirection(int direction) throws SQLException { } - + /** * @see java.sql.ResultSet#setFetchSize(int) */ public void setFetchSize(int rows) throws SQLException { } - + /** * @see java.sql.ResultSet#updateArray(int, java.sql.Array) */ public void updateArray(int columnIndex, Array x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array) */ public void updateArray(String columnName, Array x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int) */ public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, * java.io.InputStream, int) @@ -875,14 +875,14 @@ public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal) */ public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, * java.math.BigDecimal) @@ -890,14 +890,14 @@ public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int) */ public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, * java.io.InputStream, int) @@ -905,62 +905,62 @@ public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob) */ public void updateBlob(int columnIndex, Blob x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob) */ public void updateBlob(String columnName, Blob x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBoolean(int, boolean) */ public void updateBoolean(int columnIndex, boolean x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean) */ public void updateBoolean(String columnName, boolean x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateByte(int, byte) */ public void updateByte(int columnIndex, byte x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateByte(java.lang.String, byte) */ public void updateByte(String columnName, byte x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBytes(int, byte[]) */ public void updateBytes(int columnIndex, byte[] x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[]) */ public void updateBytes(String columnName, byte[] x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int) */ public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, * java.io.Reader, int) @@ -968,110 +968,110 @@ public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException { } - + /** * @see java.sql.ResultSet#updateClob(int, java.sql.Clob) */ public void updateClob(int columnIndex, Clob x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob) */ public void updateClob(String columnName, Clob x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateDate(int, java.sql.Date) */ public void updateDate(int columnIndex, Date x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date) */ public void updateDate(String columnName, Date x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateDouble(int, double) */ public void updateDouble(int columnIndex, double x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateDouble(java.lang.String, double) */ public void updateDouble(String columnName, double x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateFloat(int, float) */ public void updateFloat(int columnIndex, float x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateFloat(java.lang.String, float) */ public void updateFloat(String columnName, float x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateInt(int, int) */ public void updateInt(int columnIndex, int x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateInt(java.lang.String, int) */ public void updateInt(String columnName, int x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateLong(int, long) */ public void updateLong(int columnIndex, long x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateLong(java.lang.String, long) */ public void updateLong(String columnName, long x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateNull(int) */ public void updateNull(int columnIndex) throws SQLException { } - + /** * @see java.sql.ResultSet#updateNull(java.lang.String) */ public void updateNull(String columnName) throws SQLException { } - + /** * @see java.sql.ResultSet#updateObject(int, java.lang.Object) */ public void updateObject(int columnIndex, Object x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object) */ public void updateObject(String columnName, Object x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int) */ public void updateObject(int columnIndex, Object x, int scale) throws SQLException { } - + /** * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, * int) @@ -1079,68 +1079,68 @@ public void updateObject(String columnName, Object x, int scale) throws SQLException { } - + /** * @see java.sql.ResultSet#updateRef(int, java.sql.Ref) */ public void updateRef(int columnIndex, Ref x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref) */ public void updateRef(String columnName, Ref x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateRow() */ public void updateRow() throws SQLException { } - + /** * @see java.sql.ResultSet#updateShort(int, short) */ public void updateShort(int columnIndex, short x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateShort(java.lang.String, short) */ public void updateShort(String columnName, short x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateString(int, java.lang.String) */ public void updateString(int columnIndex, String x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String) */ public void updateString(String columnName, String x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateTime(int, java.sql.Time) */ public void updateTime(int columnIndex, Time x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time) */ public void updateTime(String columnName, Time x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp) */ public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException { } - + /** * @see java.sql.ResultSet#updateTimestamp(java.lang.String, * java.sql.Timestamp) @@ -1148,12 +1148,12 @@ public void updateTimestamp(String columnName, Timestamp x) throws SQLException { } - + /** * @see java.sql.ResultSet#wasNull() */ public boolean wasNull() throws SQLException { - + return false; }
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/DatasourceException.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/DatasourceException.java Wed Apr 28 07:04:19 2010 +0000 @@ -2,9 +2,9 @@ /** * A Class for encapsulating implementation specific datasource exceptions. - * This exception class can be used for all exceptions occuring in connection + * This exception class can be used for all exceptions occuring in connection * to "datasources actions". - * + * * @author blume * @author drewnak * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java Wed Apr 28 07:04:19 2010 +0000 @@ -33,7 +33,7 @@ private static Logger sLogger = Logger.getLogger(DateUtils.class); /** - * The Dateformat which will be used e.g for Querying the Database + * The Dateformat which will be used e.g for Querying the Database */ public static final String DATE_PATTERN = "yyyy.MM.dd HH:mm:ss"; @@ -52,7 +52,7 @@ } /** - * Returns the Date as a String formated using the + * Returns the Date as a String formated using the * <code>DateUtils.DATE_PATTERN</code> format- * @param pDate the Date which should be formatted * @return the given Data as a String @@ -82,7 +82,7 @@ * @return the given Datevalue as an Date-Object. * @throws Exception throws all Expetion which occurs during the Process. */ - public static Date getDateFromString (String sStr, + public static Date getDateFromString (String sStr, String sPattern)throws Exception { SimpleDateFormat fmt = new SimpleDateFormat(); fmt.applyPattern(sPattern);
--- a/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleanerTestCase.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/test/java/de/intevation/gnv/geobackend/base/query/cache/CacheCleanerTestCase.java Wed Apr 28 07:04:19 2010 +0000 @@ -33,7 +33,7 @@ fail(); } } - + /** * @see junit.framework.TestCase#setUp() */