Java 5 + Writer4LaTeX + bugfixes
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@11 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
be54e842f4
commit
9241a44f6c
83 changed files with 2373 additions and 631 deletions
|
@ -32,7 +32,7 @@ import java.util.Hashtable;
|
|||
// Collection of export names
|
||||
// Used for mapping named collections to simpler names (only A-Z, a-z and 0-9)
|
||||
public class ExportNameCollection{
|
||||
private Hashtable exportNames = new Hashtable();
|
||||
private Hashtable<String, String> exportNames = new Hashtable<String, String>();
|
||||
private String sPrefix;
|
||||
private boolean bAcceptNumbers;
|
||||
|
||||
|
@ -45,7 +45,7 @@ public class ExportNameCollection{
|
|||
this("",b);
|
||||
}
|
||||
|
||||
public Enumeration keys() {
|
||||
public Enumeration<String> keys() {
|
||||
return exportNames.keys();
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ public class ExportNameCollection{
|
|||
public String getExportName(String sName) {
|
||||
// add the name, if it does not exist
|
||||
if (!containsName(sName)) { addName(sName); }
|
||||
return sPrefix + (String) exportNames.get(sName);
|
||||
return sPrefix + exportNames.get(sName);
|
||||
}
|
||||
|
||||
public boolean containsName(String sName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue