A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modifiers in right order
[simgrid.git]
/
src
/
bindings
/
java
/
org
/
simgrid
/
msg
/
Storage.java
diff --git
a/src/bindings/java/org/simgrid/msg/Storage.java
b/src/bindings/java/org/simgrid/msg/Storage.java
index
d9ccd5a
..
b4cac70
100644
(file)
--- a/
src/bindings/java/org/simgrid/msg/Storage.java
+++ b/
src/bindings/java/org/simgrid/msg/Storage.java
@@
-17,23
+17,17
@@
public class Storage {
*/
private long bind;
*/
private long bind;
- /**
- * Storage name
- */
+ /** Storage name */
protected String name;
protected String name;
- /**
- * User data.
- */
+ /** User data. */
private Object data;
private Object data;
- /**
- *
- */
protected Storage() {
this.bind = 0;
this.data = null;
protected Storage() {
this.bind = 0;
this.data = null;
- }
;
+ }
+ @Override
public String toString (){
return this.name;
public String toString (){
return this.name;
@@
-49,7
+43,7
@@
public class Storage {
* @exception StorageNotFoundException if the name of the storage is not valid.
* @exception NativeException if the native version of this method failed.
*/
* @exception StorageNotFoundException if the name of the storage is not valid.
* @exception NativeException if the native version of this method failed.
*/
- public
native static
Storage getByName(String name)
+ public
static native
Storage getByName(String name)
throws HostNotFoundException, NullPointerException, NativeException, StorageNotFoundException;
/**
throws HostNotFoundException, NullPointerException, NativeException, StorageNotFoundException;
/**
@@
-110,7
+104,7
@@
public class Storage {
* @return An array containing all the storages installed.
*
*/
* @return An array containing all the storages installed.
*
*/
- public
native static
Storage[] all();
+ public
static native
Storage[] all();
/**
* Class initializer, to initialize various JNI stuff
/**
* Class initializer, to initialize various JNI stuff