Author: cbrisson
Date: Fri Oct 26 14:44:43 2012
New Revision: 1402534
URL: http://svn.apache.org/viewvc?rev=1402534&view=rev
Log:
backport jdk 1.7 tweak to 1.x branch
Modified:
velocity/engine/branches/1.x/src/test/org/apache/velocity/test/sql/HsqlDataSource.java
Modified:
velocity/engine/branches/1.x/src/test/org/apache/velocity/test/sql/HsqlDataSource.java
URL:
http://svn.apache.org/viewvc/velocity/engine/branches/1.x/src/test/org/apache/velocity/test/sql/HsqlDataSource.java?rev=1402534&r1=1402533&r2=1402534&view=diff
==============================================================================
---
velocity/engine/branches/1.x/src/test/org/apache/velocity/test/sql/HsqlDataSource.java
(original)
+++
velocity/engine/branches/1.x/src/test/org/apache/velocity/test/sql/HsqlDataSource.java
Fri Oct 26 14:44:43 2012
@@ -74,4 +74,11 @@ public class HsqlDataSource implements D
throw new SQLException("Not implemented");
}
+ /* added to be able to compile with jdk 1.7 */
+
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException
+ {
+ throw new SQLFeatureNotSupportedException();
+ }
+
}