-/*\r
- * Copyright (C) 2007-2012 Argeo GmbH\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-package org.argeo.slc.diff;\r
-\r
-/** The position of a diff issue within the test resource. */\r
-public abstract class DiffPosition implements Comparable<DiffPosition> {\r
- protected RelatedFile relatedFile;\r
-\r
- public DiffPosition(RelatedFile relatedFile) {\r
- super();\r
- this.relatedFile = relatedFile;\r
- }\r
-\r
- // For Hibernate\r
- DiffPosition() {\r
- }\r
-\r
- public RelatedFile getRelatedFile() {\r
- return relatedFile;\r
- }\r
-\r
- // Added to enable the new data model for persisting TabularDiffTestResult\r
- @SuppressWarnings("unused")\r
- private Boolean getIsReached() {\r
- return relatedFile.equals(RelatedFile.REACHED);\r
- }\r
-\r
- @SuppressWarnings("unused")\r
- private void setIsReached(Boolean isReached) {\r
- this.relatedFile = (isReached ? RelatedFile.REACHED\r
- : RelatedFile.EXPECTED);\r
- }\r
-\r
-}\r
+package org.argeo.slc.diff;
+
+/** The position of a diff issue within the test resource. */
+public abstract class DiffPosition implements Comparable<DiffPosition> {
+ protected RelatedFile relatedFile;
+
+ public DiffPosition(RelatedFile relatedFile) {
+ super();
+ this.relatedFile = relatedFile;
+ }
+
+ // For Hibernate
+ DiffPosition() {
+ }
+
+ public RelatedFile getRelatedFile() {
+ return relatedFile;
+ }
+
+ // Added to enable the new data model for persisting TabularDiffTestResult
+ @SuppressWarnings("unused")
+ private Boolean getIsReached() {
+ return relatedFile.equals(RelatedFile.REACHED);
+ }
+
+ @SuppressWarnings("unused")
+ private void setIsReached(Boolean isReached) {
+ this.relatedFile = (isReached ? RelatedFile.REACHED
+ : RelatedFile.EXPECTED);
+ }
+
+}