Revision 10666 branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/table/ProjectTableFactory.java
ProjectTableFactory.java | ||
---|---|---|
212 | 212 |
|
213 | 213 |
t.setName(name); |
214 | 214 |
t.setCreationDate(DateFormat.getInstance().format(new Date())); |
215 |
ProjectTable.numTables++; |
|
215 |
int numTables=((Integer)ProjectDocument.NUMS.get(registerName)).intValue(); |
|
216 |
ProjectDocument.NUMS.put(registerName,new Integer(numTables++)); |
|
216 | 217 |
|
217 | 218 |
return t; |
218 | 219 |
} |
Also available in: Unified diff