diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-04-04 08:50:48 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2024-04-04 08:50:48 +0200 |
commit | 6fd4c3ed1594b50ad4b6de95c80624192e8b1ccf (patch) | |
tree | 364a15400d5b5c3af5d87f49444dd3fc1dda60f2 /indexinglanguage | |
parent | 74249832ba16be3605836ee1fd6693d90e3995fd (diff) |
- No need for final on locals and params.
- Log with lambda to avoid explicit guard.
- Log old localMaxThroughput, not new value twice.
Diffstat (limited to 'indexinglanguage')
-rw-r--r-- | indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BusyWaitExpression.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BusyWaitExpression.java b/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BusyWaitExpression.java index 068aa1421f7..8ae77aad1b1 100644 --- a/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BusyWaitExpression.java +++ b/indexinglanguage/src/main/java/com/yahoo/vespa/indexinglanguage/expressions/BusyWaitExpression.java @@ -5,7 +5,7 @@ import com.yahoo.document.datatypes.FieldValue; import com.yahoo.document.datatypes.NumericFieldValue; /** - * Utility expression that will sleep the amount of time given in the numeric field. + * Utility expression that will busy-wait the amount of time given in the numeric field. * Non-numeric fields will be ignored * @author baldersheim */ @@ -37,7 +37,7 @@ public final class BusyWaitExpression extends Expression { @Override protected void doVerify(VerificationContext context) { } @Override public DataType createdOutputType() { return null; } - @Override public String toString() { return "sleep"; } + @Override public String toString() { return "busy_wait"; } @Override public boolean equals(Object obj) { return obj instanceof BusyWaitExpression; } @Override public int hashCode() { return getClass().hashCode(); } } |