mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Merge pull request #861 from 0xbaadf00d/feature/coding-style
Remove redundant "public" modifier for interface methods
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package com.avaje.tests.idkeys;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
|
||||
import com.avaje.ebean.Transaction;
|
||||
import com.avaje.ebean.config.dbplatform.IdType;
|
||||
import com.avaje.ebeaninternal.api.SpiEbeanServer;
|
||||
@@ -11,6 +7,10 @@ import com.avaje.tests.idkeys.db.GenKeyIdentity;
|
||||
import com.avaje.tests.idkeys.db.GenKeySequence;
|
||||
import com.avaje.tests.lib.EbeanTestCase;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
|
||||
/**
|
||||
* Test various key generation strategies.
|
||||
*
|
||||
@@ -78,7 +78,6 @@ public class TestGeneratedKeys extends EbeanTestCase
|
||||
}
|
||||
catch (SQLException e)
|
||||
{
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.avaje.tests.model.interfaces;
|
||||
|
||||
public interface IAddress {
|
||||
public String getStreet();
|
||||
public void setStreet(String s);
|
||||
String getStreet();
|
||||
void setStreet(String s);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.avaje.tests.model.interfaces;
|
||||
|
||||
public interface IPerson {
|
||||
public IAddress getDefaultAddress();
|
||||
public void setDefaultAddress(IAddress address);
|
||||
IAddress getDefaultAddress();
|
||||
void setDefaultAddress(IAddress address);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user