|
From: <cro...@li...> - 2005-12-04 22:16:25
|
Module Name: CFJavaEditor
Committed By: akirschbaum
Date: Sun Dec 4 22:16:19 UTC 2005
Modified Files:
CFJavaEditor/src/cfeditor: AnimationObject.java ArchObjectParser.java
ArchObjectStack.java CMapFileDecode.java CMapFileEncode.java
FaceObject.java
CFJavaEditor/src/cfeditor/gui: ScriptEditor.java
Log Message:
Remove empty declarations to prevent compiler warnings.
Start of context diffs
Index: CFJavaEditor/src/cfeditor/AnimationObject.java
diff -c CFJavaEditor/src/cfeditor/AnimationObject.java:1.4 CFJavaEditor/src/cfeditor/AnimationObject.java:1.5
*** CFJavaEditor/src/cfeditor/AnimationObject.java:1.4 Wed Nov 17 20:51:16 2004
--- CFJavaEditor/src/cfeditor/AnimationObject.java Sun Dec 4 14:16:18 2005
***************
*** 47,53 ****
m_control = control;
animObjCount=0;
! };
public void addAnimObject(String name, String list) {
animObjects[animObjCount] = new AnimObjectNode();
--- 47,53 ----
m_control = control;
animObjCount=0;
! }
public void addAnimObject(String name, String list) {
animObjects[animObjCount] = new AnimObjectNode();
***************
*** 83,89 ****
Integer num = (Integer) animHashTable.get(name);
return(num.intValue());
}
! }; // End of class
class AnimObjectNode {
String animName;
--- 83,89 ----
Integer num = (Integer) animHashTable.get(name);
return(num.intValue());
}
! } // End of class
class AnimObjectNode {
String animName;
***************
*** 93,97 ****
animName=null;
animList=null;
}
! }; // End of class
--- 93,97 ----
animName=null;
animList=null;
}
! } // End of class
Index: CFJavaEditor/src/cfeditor/ArchObjectParser.java
diff -c CFJavaEditor/src/cfeditor/ArchObjectParser.java:1.9 CFJavaEditor/src/cfeditor/ArchObjectParser.java:1.10
*** CFJavaEditor/src/cfeditor/ArchObjectParser.java:1.9 Sun Jan 9 14:05:34 2005
--- CFJavaEditor/src/cfeditor/ArchObjectParser.java Sun Dec 4 14:16:18 2005
***************
*** 765,768 ****
}
}
! };
--- 765,768 ----
}
}
! }
Index: CFJavaEditor/src/cfeditor/ArchObjectStack.java
diff -c CFJavaEditor/src/cfeditor/ArchObjectStack.java:1.19 CFJavaEditor/src/cfeditor/ArchObjectStack.java:1.20
*** CFJavaEditor/src/cfeditor/ArchObjectStack.java:1.19 Sun Sep 11 14:44:58 2005
--- CFJavaEditor/src/cfeditor/ArchObjectStack.java Sun Dec 4 14:16:18 2005
***************
*** 79,85 ****
faceListCount=0;
archObjCount=0;
ArchObject.setArchStack(this); // add static reference to ArchObject
! };
public void incArchObjCount() {archObjCount++;}
--- 79,85 ----
faceListCount=0;
archObjCount=0;
ArchObject.setArchStack(this); // add static reference to ArchObject
! }
public void incArchObjCount() {archObjCount++;}
***************
*** 219,225 ****
// load the treasurelists data
CFTreasureListTree.init();
}
! };
/**
* Load "pseudo arches" from file "artifacts"
--- 219,225 ----
// load the treasurelists data
CFTreasureListTree.init();
}
! }
/**
* Load "pseudo arches" from file "artifacts"
***************
*** 1525,1530 ****
this.arch = data;
this.next = null;
}
! }; // End of class
! }; // End of class stack
--- 1525,1530 ----
this.arch = data;
this.next = null;
}
! } // End of class
! } // End of class stack
Index: CFJavaEditor/src/cfeditor/CMapFileDecode.java
diff -c CFJavaEditor/src/cfeditor/CMapFileDecode.java:1.11 CFJavaEditor/src/cfeditor/CMapFileDecode.java:1.12
*** CFJavaEditor/src/cfeditor/CMapFileDecode.java:1.11 Sun Sep 11 14:44:58 2005
--- CFJavaEditor/src/cfeditor/CMapFileDecode.java Sun Dec 4 14:16:18 2005
***************
*** 45,51 ****
private CMainControl main_control; // link to the main control (for archlist)
public CMapFileDecode() {
! };
public MapArchObject getMapArch() {
return maparch;
--- 45,51 ----
private CMainControl main_control; // link to the main control (for archlist)
public CMapFileDecode() {
! }
public MapArchObject getMapArch() {
return maparch;
***************
*** 311,314 ****
return null; // this happens when the file end is reached
}
! };
--- 311,314 ----
return null; // this happens when the file end is reached
}
! }
Index: CFJavaEditor/src/cfeditor/FaceObject.java
diff -c CFJavaEditor/src/cfeditor/FaceObject.java:1.5 CFJavaEditor/src/cfeditor/FaceObject.java:1.6
*** CFJavaEditor/src/cfeditor/FaceObject.java:1.5 Wed Jan 12 12:10:18 2005
--- CFJavaEditor/src/cfeditor/FaceObject.java Sun Dec 4 14:16:18 2005
***************
*** 57,63 ****
public FaceObject() {
face = null;
index = -1;
! };
/**
* FaceObject with informations on how to localize ressource (lazy loading)
* @param directory
--- 57,63 ----
public FaceObject() {
face = null;
index = -1;
! }
/**
* FaceObject with informations on how to localize ressource (lazy loading)
* @param directory
***************
*** 144,148 ****
public void setIndex(int i) {
index = i;
}
! };
--- 144,148 ----
public void setIndex(int i) {
index = i;
}
! }
Index: CFJavaEditor/src/cfeditor/gui/ScriptEditor.java
diff -c CFJavaEditor/src/cfeditor/gui/ScriptEditor.java:1.2 CFJavaEditor/src/cfeditor/gui/ScriptEditor.java:1.3
*** CFJavaEditor/src/cfeditor/gui/ScriptEditor.java:1.2 Sun Sep 11 14:44:58 2005
--- CFJavaEditor/src/cfeditor/gui/ScriptEditor.java Sun Dec 4 14:16:19 2005
***************
*** 307,313 ****
paramTable.add(getParameterView(param).getConfigComponent(param.getConfig(),param),gbc);
gbc.gridx=4;
paramTable.add(getParameterView(param).getValueComponent(param.getValue(),param),gbc);
! };
public String getUid(){
if (uuid==null)
generateUid();
--- 307,313 ----
paramTable.add(getParameterView(param).getConfigComponent(param.getConfig(),param),gbc);
gbc.gridx=4;
paramTable.add(getParameterView(param).getValueComponent(param.getValue(),param),gbc);
! }
public String getUid(){
if (uuid==null)
generateUid();
|