mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 11:06:25 +00:00
Add @Override annotations, remove unused imports,
add some copyright headers, some tab->ws git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21654 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
7c2d1e9455
commit
9fed9823f5
142 files changed
+571
-250
No files matched your search
@@ -179,6 +179,7 @@ public final class XmlFile {
|
||||
file.getParentFile().mkdirs();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return file.toString();
|
||||
}
|
||||
@@ -232,14 +233,17 @@ public final class XmlFile {
|
||||
try {
|
||||
JAXP.newSAXParser().parse(file,new DefaultHandler() {
|
||||
private Locator loc;
|
||||
@Override
|
||||
public void setDocumentLocator(Locator locator) {
|
||||
this.loc = locator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startDocument() throws SAXException {
|
||||
attempt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
|
||||
attempt();
|
||||
// if we still haven't found it at the first start element,
|
||||
|
||||
Reference in new issue
Block a user