浏览代码

jfinal 2.1 release ^_^

James 10 年之前
父节点
当前提交
4b7a3677b1
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      src/com/jfinal/plugin/activerecord/NullDataSource.java

+ 0 - 9
src/com/jfinal/plugin/activerecord/NullDataSource.java

@@ -30,47 +30,38 @@ class NullDataSource implements DataSource {
 	
 	private String msg = "Can not invoke the method of NullDataSource";
 	
-	@Override
 	public PrintWriter getLogWriter() throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public void setLogWriter(PrintWriter out) throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public void setLoginTimeout(int seconds) throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public int getLoginTimeout() throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public Logger getParentLogger() throws SQLFeatureNotSupportedException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public <T> T unwrap(Class<T> iface) throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public Connection getConnection() throws SQLException {
 		throw new RuntimeException(msg);
 	}
 
-	@Override
 	public Connection getConnection(String username, String password) throws SQLException {
 		throw new RuntimeException(msg);
 	}