[Swift-commit] r2557 - trunk/src/org/griphyn/vdl/type
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Feb 17 09:09:18 CST 2009
Author: benc
Date: 2009-02-17 09:09:17 -0600 (Tue, 17 Feb 2009)
New Revision: 2557
Modified:
trunk/src/org/griphyn/vdl/type/Types.java
Log:
Remove the instance methods of Types as they are unused. Types is used
solely for its static methods.
Modified: trunk/src/org/griphyn/vdl/type/Types.java
===================================================================
--- trunk/src/org/griphyn/vdl/type/Types.java 2009-02-17 14:20:30 UTC (rev 2556)
+++ trunk/src/org/griphyn/vdl/type/Types.java 2009-02-17 15:09:17 UTC (rev 2557)
@@ -4,28 +4,13 @@
import java.util.Iterator;
import java.util.Map;
-public class Types {
+public abstract class Types {
//TODO: check namespace references in type definitions
private static Map types = new HashMap();
private String namespace = null;
- public Types() {
- }
-
- public Types(String namespace) {
- this.namespace = namespace;
- }
-
- public String getNamespace() {
- return namespace;
- }
-
- public void setNamespace(String namespace) {
- this.namespace = namespace;
- }
-
public synchronized static Type getType(String name) throws NoSuchTypeException {
Type type = (Type) types.get(name);
if (type == null) {
More information about the Swift-commit
mailing list