mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -128,7 +128,7 @@ public class NanoXmlUtil {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static XmlFileHeader parseHeaderWithException(Reader reader) throws IOException {
|
||||
public static XmlFileHeader parseHeaderWithException(Reader reader) {
|
||||
return parseHeader(new MyXMLReader(reader));
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ public class NanoXmlUtil {
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public Object getResult() throws Exception {
|
||||
public Object getResult() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ public class NanoXmlUtil {
|
||||
private final Stack<String> myLocation = new Stack<>();
|
||||
|
||||
@Override
|
||||
public void startBuilding(String systemID, int lineNr) throws Exception {
|
||||
public void startBuilding(String systemID, int lineNr) {
|
||||
myLocation.push("");
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ public class NanoXmlUtil {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Reader getEntity(IXMLReader xmlReader, String name) throws XMLParseException {
|
||||
public Reader getEntity(IXMLReader xmlReader, String name) {
|
||||
return new StringReader("");
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ public class NanoXmlUtil {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Reader openStream(String publicId, String systemId) throws IOException {
|
||||
public Reader openStream(String publicId, String systemId) {
|
||||
this.publicId = StringUtil.isEmpty(publicId) ? null : publicId;
|
||||
this.systemId = StringUtil.isEmpty(systemId) ? null : systemId;
|
||||
|
||||
@@ -375,11 +375,11 @@ public class NanoXmlUtil {
|
||||
private String myNamespace;
|
||||
|
||||
@Override
|
||||
public void startBuilding(final String systemID, final int lineNr) throws Exception {
|
||||
public void startBuilding(final String systemID, final int lineNr) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void newProcessingInstruction(final String target, final Reader reader) throws Exception {
|
||||
public void newProcessingInstruction(final String target, final Reader reader) {
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -390,19 +390,19 @@ public class NanoXmlUtil {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addAttribute(final String key, final String nsPrefix, final String nsURI, final String value, final String type) throws Exception {
|
||||
public void addAttribute(final String key, final String nsPrefix, final String nsURI, final String value, final String type) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void elementAttributesProcessed(final String name, final String nsPrefix, final String nsURI) throws Exception {
|
||||
public void elementAttributesProcessed(final String name, final String nsPrefix, final String nsURI) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void endElement(final String name, final String nsPrefix, final String nsURI) throws Exception {
|
||||
public void endElement(final String name, final String nsPrefix, final String nsURI) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addPCData(final Reader reader, final String systemID, final int lineNr) throws Exception {
|
||||
public void addPCData(final Reader reader, final String systemID, final int lineNr) {
|
||||
}
|
||||
|
||||
public String getNamespace() {
|
||||
|
||||
Reference in New Issue
Block a user