2010-10-26 Francois Chouinard <fchouinard@gmail.com> Contribution for Bug309042
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / parsers / custom / CustomTxtTraceDefinition.java
index e9a6d5ee13e91ccd84e443bc4cf95a3fba155f7a..ab1803f78eccea955fd0627ced9934feb2552bb8 100644 (file)
@@ -264,6 +264,7 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
             \r
             // The following allows xml parsing without access to the dtd\r
             EntityResolver resolver = new EntityResolver () {\r
+               @Override\r
                 public InputSource resolveEntity (String publicId, String systemId) {\r
                     String empty = "";\r
                     ByteArrayInputStream bais = new ByteArrayInputStream(empty.getBytes());\r
@@ -274,8 +275,11 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following catches xml parsing exceptions\r
             db.setErrorHandler(new ErrorHandler(){\r
+               @Override\r
                 public void error(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void warning(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void fatalError(SAXParseException saxparseexception) throws SAXException {\r
                     throw saxparseexception;\r
                 }});\r
@@ -397,6 +401,7 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following allows xml parsing without access to the dtd\r
             EntityResolver resolver = new EntityResolver () {\r
+               @Override\r
                 public InputSource resolveEntity (String publicId, String systemId) {\r
                     String empty = "";\r
                     ByteArrayInputStream bais = new ByteArrayInputStream(empty.getBytes());\r
@@ -407,8 +412,11 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following catches xml parsing exceptions\r
             db.setErrorHandler(new ErrorHandler(){\r
+               @Override\r
                 public void error(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void warning(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void fatalError(SAXParseException saxparseexception) throws SAXException {\r
                     throw saxparseexception;\r
                 }});\r
@@ -453,6 +461,7 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following allows xml parsing without access to the dtd\r
             EntityResolver resolver = new EntityResolver () {\r
+               @Override\r
                 public InputSource resolveEntity (String publicId, String systemId) {\r
                     String empty = "";\r
                     ByteArrayInputStream bais = new ByteArrayInputStream(empty.getBytes());\r
@@ -463,8 +472,11 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following catches xml parsing exceptions\r
             db.setErrorHandler(new ErrorHandler(){\r
+               @Override\r
                 public void error(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void warning(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void fatalError(SAXParseException saxparseexception) throws SAXException {\r
                     throw saxparseexception;\r
                 }});\r
@@ -567,6 +579,7 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following allows xml parsing without access to the dtd\r
             EntityResolver resolver = new EntityResolver () {\r
+               @Override\r
                 public InputSource resolveEntity (String publicId, String systemId) {\r
                     String empty = "";\r
                     ByteArrayInputStream bais = new ByteArrayInputStream(empty.getBytes());\r
@@ -577,8 +590,11 @@ public class CustomTxtTraceDefinition extends CustomTraceDefinition {
 \r
             // The following catches xml parsing exceptions\r
             db.setErrorHandler(new ErrorHandler(){\r
+               @Override\r
                 public void error(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void warning(SAXParseException saxparseexception) throws SAXException {}\r
+               @Override\r
                 public void fatalError(SAXParseException saxparseexception) throws SAXException {\r
                     throw saxparseexception;\r
                 }});\r
This page took 0.024604 seconds and 5 git commands to generate.