[Dive4elements-commits] [PATCH] Fix typo offical -> official in HWS

Wald Commits scm-commit at wald.intevation.org
Thu Mar 7 11:19:00 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362651530 -3600
# Node ID 0a83a796f7cf5c127726db33de187ef0cd7d9d17
# Parent  8aac391871f9fb1175529ddb8812af0d9711fecd
Fix typo offical -> official in HWS

diff -r 8aac391871f9 -r 0a83a796f7cf flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java	Thu Mar 07 10:53:44 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HWSLine.java	Thu Mar 07 11:18:50 2013 +0100
@@ -33,7 +33,7 @@
     private HWSKind  kind;
     private FedState fedState;
     private River    river;
-    private Integer  offical;
+    private Integer  official;
     private Integer  shoreSide;
     private String   name;
     private String   path;
@@ -93,22 +93,22 @@
 
 
     /**
-     * Get offical.
+     * Get official.
      *
-     * @return offical as Integer.
+     * @return official as Integer.
      */
-    @Column(name = "offical")
-    public Integer getOffical() {
-        return offical;
+    @Column(name = "official")
+    public Integer getofficial() {
+        return official;
     }
 
     /**
-     * Set offical.
+     * Set official.
      *
-     * @param offical the value to set.
+     * @param official the value to set.
      */
-    public void setOffical(Integer offical) {
-        this.offical = offical;
+    public void setofficial(Integer official) {
+        this.official = official;
     }
 
     /**
diff -r 8aac391871f9 -r 0a83a796f7cf flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java	Thu Mar 07 10:53:44 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HWSPoint.java	Thu Mar 07 11:18:50 2013 +0100
@@ -28,7 +28,7 @@
     private HWSKind    kind;
     private FedState   fedState;
     private River      river;
-    private Integer    offical;
+    private Integer    official;
     private Integer    shoreSide;
     private String     name;
     private String     path;
@@ -94,22 +94,22 @@
 
 
     /**
-     * Get offical.
+     * Get official.
      *
-     * @return offical as Integer.
+     * @return official as Integer.
      */
-    @Column(name = "offical")
-    public Integer getOffical() {
-        return offical;
+    @Column(name = "official")
+    public Integer getofficial() {
+        return official;
     }
 
     /**
-     * Set offical.
+     * Set official.
      *
-     * @param offical the value to set.
+     * @param official the value to set.
      */
-    public void setOffical(Integer offical) {
-        this.offical = offical;
+    public void setofficial(Integer official) {
+        this.official = official;
     }
 
     /**


More information about the Dive4elements-commits mailing list