summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java')
-rw-r--r--config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java b/config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java
deleted file mode 100644
index 57c28d9bdb5..00000000000
--- a/config-model/src/main/java/com/yahoo/schema/fieldoperation/WeightOperation.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package com.yahoo.schema.fieldoperation;
-
-import com.yahoo.schema.document.SDField;
-
-/**
- * @author Einar M R Rosenvinge
- */
-public class WeightOperation implements FieldOperation {
-
- private int weight;
-
- public int getWeight() {
- return weight;
- }
-
- public void setWeight(int weight) {
- this.weight = weight;
- }
-
- public void apply(SDField field) {
- field.setWeight(weight);
- }
-
-}