summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-03-26 08:24:11 +0100
committerJon Bratseth <bratseth@gmail.com>2021-03-26 08:24:11 +0100
commit487b7df266d74511d30aa048988c9f89995d97ac (patch)
tree9a4eace0c0b0c9af417acfa1afed3db547f9c9f7 /container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java
parent1a7f7f0028c579aac2ce6747b6f9e02ebc0f31d6 (diff)
Carry weight
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java')
-rw-r--r--container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java b/container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java
index 3073e2f7727..716622a4849 100644
--- a/container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java
+++ b/container-search/src/main/java/com/yahoo/prelude/semantics/rule/Production.java
@@ -33,7 +33,7 @@ public abstract class Production {
public void setPosition(int position) { this.position = position; }
/** Sets the weight of this production as a percentage (default is 100) */
- public void setWeight(int weight) { this.weight=weight; }
+ public void setWeight(int weight) { this.weight = weight; }
/** Returns the weight of this production as a percentage (default is 100) */
public int getWeight() { return weight; }