mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup,remove unnecessary public modifier on interfaces
This commit is contained in:
1 parent
f78c217d83
commit
6843c72149
20 files changed
+110
-110
No files matched your search
@@ -14,21 +14,21 @@ public interface ResourceContent {
|
||||
/**
|
||||
* The name of the content.
|
||||
*/
|
||||
public String getName();
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* The size of the content in bytes.
|
||||
*/
|
||||
public long size();
|
||||
long size();
|
||||
|
||||
/**
|
||||
* The last modified timestamp of the content.
|
||||
*/
|
||||
public long lastModified();
|
||||
long lastModified();
|
||||
|
||||
/**
|
||||
* The content itself.
|
||||
*/
|
||||
public InputStream getInputStream() throws IOException;
|
||||
InputStream getInputStream() throws IOException;
|
||||
|
||||
}
|
||||
@@ -17,21 +17,21 @@ public interface ResourceSource {
|
||||
* This will return null IF the ResourceSource is an unpacked WAR file.
|
||||
* </p>
|
||||
*/
|
||||
public String getRealPath();
|
||||
String getRealPath();
|
||||
|
||||
/**
|
||||
* Find the content with a given entry name. This will return null if no
|
||||
* matching content was found.
|
||||
*/
|
||||
public ResourceContent getContent(String entry);
|
||||
ResourceContent getContent(String entry);
|
||||
|
||||
/**
|
||||
* Return the content as a String.
|
||||
*/
|
||||
public String readString(ResourceContent content, int bufSize) throws IOException;
|
||||
String readString(ResourceContent content, int bufSize) throws IOException;
|
||||
|
||||
/**
|
||||
* Return the content as a byte[].
|
||||
*/
|
||||
public byte[] readBytes(ResourceContent content, int bufSize) throws IOException;
|
||||
byte[] readBytes(ResourceContent content, int bufSize) throws IOException;
|
||||
}
|
||||
@@ -8,6 +8,6 @@ public interface MailListener {
|
||||
/**
|
||||
* Handle the message event.
|
||||
*/
|
||||
public void handleEvent(MailEvent event);
|
||||
void handleEvent(MailEvent event);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user