You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2014/04/08 06:27:52 UTC
[1/3] git commit: Cleaned up the new exceptions and made them a
little cleaner.
Repository: incubator-vxquery
Updated Branches:
refs/heads/prestonc/hash_join 98f95975a -> 1eb4aeaf6
Cleaned up the new exceptions and made them a little cleaner.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/a0a837aa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/a0a837aa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/a0a837aa
Branch: refs/heads/prestonc/hash_join
Commit: a0a837aab741a95ec1507c5ab4209a401f72fc4c
Parents: 98f9597
Author: Preston Carman <pr...@apache.org>
Authored: Mon Apr 7 20:48:18 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Mon Apr 7 20:48:18 2014 -0700
----------------------------------------------------------------------
.../exceptions/VXQueryDataException.java | 41 ++++++++++++++++++++
.../VXQueryFileNotFoundException.java | 30 ++++++--------
.../exceptions/VXQueryParseException.java | 30 ++++++--------
.../VXQueryCollectionOperatorDescriptor.java | 18 +--------
.../org/apache/vxquery/xmlparser/XMLParser.java | 5 +--
5 files changed, 69 insertions(+), 55 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/a0a837aa/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java
new file mode 100644
index 0000000..79a37af
--- /dev/null
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.vxquery.exceptions;
+
+import java.io.File;
+
+import edu.uci.ics.hyracks.api.exceptions.HyracksDataException;
+
+public class VXQueryDataException extends HyracksDataException {
+
+ private static final long serialVersionUID = 1L;
+
+ private File file;
+
+ public VXQueryDataException(String message, Exception ex, File file) {
+ super(message, ex);
+ this.file = file;
+ }
+
+ @Override
+ public String getMessage() {
+ String message = super.getMessage();
+ message = message.replaceAll("\\[nodeId\\]", getNodeId());
+ message = message.replaceAll("\\[path\\]", file.getAbsolutePath());
+ return message;
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/a0a837aa/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryFileNotFoundException.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryFileNotFoundException.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryFileNotFoundException.java
index 27a0a2e..2856178 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryFileNotFoundException.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryFileNotFoundException.java
@@ -1,11 +1,13 @@
/*
- * Copyright 2009-2013 by The Regents of the University of California
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * you may obtain a copy of the License from
- *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,22 +16,14 @@
*/
package org.apache.vxquery.exceptions;
-import edu.uci.ics.hyracks.api.exceptions.HyracksDataException;
+import java.io.File;
-public class VXQueryFileNotFoundException extends HyracksDataException {
+public class VXQueryFileNotFoundException extends VXQueryDataException {
private static final long serialVersionUID = 1L;
- public VXQueryFileNotFoundException() {
- super();
- }
-
- public VXQueryFileNotFoundException(Exception ex) {
- super(ex);
- }
-
- public VXQueryFileNotFoundException(String msg) {
- super(msg);
+ public VXQueryFileNotFoundException(Exception ex, File file) {
+ super("The file ([nodeId]:[path]) can not be found.", ex, file);
}
}
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/a0a837aa/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryParseException.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryParseException.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryParseException.java
index f1b4155..f0d66fb 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryParseException.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryParseException.java
@@ -1,11 +1,13 @@
/*
- * Copyright 2009-2013 by The Regents of the University of California
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * you may obtain a copy of the License from
- *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,22 +16,14 @@
*/
package org.apache.vxquery.exceptions;
-import edu.uci.ics.hyracks.api.exceptions.HyracksDataException;
+import java.io.File;
-public class VXQueryParseException extends HyracksDataException {
+public class VXQueryParseException extends VXQueryDataException {
private static final long serialVersionUID = 1L;
- public VXQueryParseException() {
- super();
- }
-
- public VXQueryParseException(Exception ex) {
- super(ex);
- }
-
- public VXQueryParseException(String msg) {
- super(msg);
+ public VXQueryParseException(Exception ex, File file) {
+ super("The file ([nodeId]:[path]) threw a SAXException during parsing.", ex, file);
}
}
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/a0a837aa/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java b/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
index 54007c8..44e6ad6 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
@@ -123,23 +123,9 @@ public class VXQueryCollectionOperatorDescriptor extends AbstractSingleActivityO
abvsFileNode.reset();
try {
parser.parseFile(file, in, abvsFileNode);
- } catch (VXQueryFileNotFoundException e) {
- String message = "The file (" + nodeId + ":" + file.getAbsolutePath() + ") can not be found.";
- HyracksDataException hde = new HyracksDataException(message, e.getCause());
- hde.setNodeId(nodeId);
- throw hde;
- } catch (VXQueryParseException e) {
- String message = "The file (" + nodeId + ":" + file.getAbsolutePath()
- + ") throw a SAXException durring parsing.";
- HyracksDataException hde = new HyracksDataException(message, e.getCause());
- hde.setNodeId(nodeId);
- throw hde;
} catch (HyracksDataException e) {
- String message = "The file (" + nodeId + ":" + file.getAbsolutePath()
- + ") throw the following error during parsing: " + e.getMessage();
- HyracksDataException hde = new HyracksDataException(message, e.getCause());
- hde.setNodeId(nodeId);
- throw hde;
+ e.setNodeId(nodeId);
+ throw e;
}
TaggedValuePointable tvp = ppool.takeOne(TaggedValuePointable.class);
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/a0a837aa/vxquery-core/src/main/java/org/apache/vxquery/xmlparser/XMLParser.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/xmlparser/XMLParser.java b/vxquery-core/src/main/java/org/apache/vxquery/xmlparser/XMLParser.java
index 125557b..445915b 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/xmlparser/XMLParser.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/xmlparser/XMLParser.java
@@ -46,7 +46,6 @@ public class XMLParser {
}
}
-
public void parseFile(File file, InputSource in, ArrayBackedValueStorage abvs) throws HyracksDataException {
try {
if (file.getName().toLowerCase().endsWith(".xml.gz")) {
@@ -57,9 +56,9 @@ public class XMLParser {
parser.parse(in);
handler.write(abvs);
} catch (FileNotFoundException e) {
- throw new VXQueryFileNotFoundException(e);
+ throw new VXQueryFileNotFoundException(e, file);
} catch (SAXException e) {
- throw new VXQueryParseException(e);
+ throw new VXQueryParseException(e, file);
} catch (IOException e) {
throw new HyracksDataException(e);
}
[2/3] git commit: Licence formatting.
Posted by pr...@apache.org.
Licence formatting.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/9b90734f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/9b90734f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/9b90734f
Branch: refs/heads/prestonc/hash_join
Commit: 9b90734fe4e08d4c3b2a4f45d21f2f20b324e434
Parents: a0a837a
Author: Preston Carman <pr...@apache.org>
Authored: Mon Apr 7 20:49:35 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Mon Apr 7 20:49:35 2014 -0700
----------------------------------------------------------------------
.../DefaultSystemExceptionFactory.java | 30 ++++++++++----------
.../apache/vxquery/exceptions/ErrorCode.java | 30 ++++++++++----------
.../vxquery/exceptions/ErrorMessages.java | 30 ++++++++++----------
.../vxquery/exceptions/ErrorReporter.java | 30 ++++++++++----------
.../vxquery/exceptions/SystemException.java | 30 ++++++++++----------
.../exceptions/SystemExceptionFactory.java | 30 ++++++++++----------
.../vxquery/exceptions/WarningReporter.java | 30 ++++++++++----------
7 files changed, 105 insertions(+), 105 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/DefaultSystemExceptionFactory.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/DefaultSystemExceptionFactory.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/DefaultSystemExceptionFactory.java
index 0548f09..3c0e143 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/DefaultSystemExceptionFactory.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/DefaultSystemExceptionFactory.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
import org.apache.vxquery.util.SourceLocation;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorCode.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorCode.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorCode.java
index c43c38c..302ba9e 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorCode.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorCode.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
import javax.xml.namespace.QName;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorMessages.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorMessages.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorMessages.java
index e10fd04..8b9fe97 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorMessages.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorMessages.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorReporter.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorReporter.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorReporter.java
index 66977b4..d271095 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorReporter.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/ErrorReporter.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
public interface ErrorReporter {
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemException.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemException.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemException.java
index 990dc59..697d76c 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemException.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemException.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
import java.text.MessageFormat;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemExceptionFactory.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemExceptionFactory.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemExceptionFactory.java
index c751488..d26f5af 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemExceptionFactory.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/SystemExceptionFactory.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
import org.apache.vxquery.util.SourceLocation;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/9b90734f/vxquery-core/src/main/java/org/apache/vxquery/exceptions/WarningReporter.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/WarningReporter.java b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/WarningReporter.java
index 020ff48..419b6ed 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/exceptions/WarningReporter.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/exceptions/WarningReporter.java
@@ -1,19 +1,19 @@
/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.vxquery.exceptions;
public interface WarningReporter {
[3/3] git commit: Removed extra imports.
Posted by pr...@apache.org.
Removed extra imports.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/1eb4aeaf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/1eb4aeaf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/1eb4aeaf
Branch: refs/heads/prestonc/hash_join
Commit: 1eb4aeaf67c974664eae6526988aea9059d2c5e2
Parents: 9b90734
Author: Preston Carman <pr...@apache.org>
Authored: Mon Apr 7 20:49:50 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Mon Apr 7 20:49:50 2014 -0700
----------------------------------------------------------------------
.../vxquery/metadata/VXQueryCollectionOperatorDescriptor.java | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/1eb4aeaf/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java b/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
index 44e6ad6..1ca0ea6 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/metadata/VXQueryCollectionOperatorDescriptor.java
@@ -27,8 +27,6 @@ import org.apache.vxquery.datamodel.accessors.PointablePool;
import org.apache.vxquery.datamodel.accessors.PointablePoolFactory;
import org.apache.vxquery.datamodel.accessors.TaggedValuePointable;
import org.apache.vxquery.exceptions.SystemException;
-import org.apache.vxquery.exceptions.VXQueryFileNotFoundException;
-import org.apache.vxquery.exceptions.VXQueryParseException;
import org.apache.vxquery.runtime.functions.step.ChildPathStepOperatorDescriptor;
import org.apache.vxquery.xmlparser.ITreeNodeIdProvider;
import org.apache.vxquery.xmlparser.TreeNodeIdProvider;