提交 610a5378 编写于 作者: P peng-yongsheng

fixed expressions error.

上级 940130e2
...@@ -24,18 +24,18 @@ package org.apache.skywalking.oap.server.core.analysis.indicator.expression; ...@@ -24,18 +24,18 @@ package org.apache.skywalking.oap.server.core.analysis.indicator.expression;
public class LessEqualMatch { public class LessEqualMatch {
public boolean match(Integer left, Integer right) { public boolean match(Integer left, Integer right) {
return left < right; return left <= right;
} }
public boolean match(Long left, Long right) { public boolean match(Long left, Long right) {
return left < right; return left <= right;
} }
public boolean match(Float left, Float right) { public boolean match(Float left, Float right) {
return left < right; return left <= right;
} }
public boolean match(Double left, Double right) { public boolean match(Double left, Double right) {
return left < right; return left <= right;
} }
} }
...@@ -24,18 +24,18 @@ package org.apache.skywalking.oap.server.core.analysis.indicator.expression; ...@@ -24,18 +24,18 @@ package org.apache.skywalking.oap.server.core.analysis.indicator.expression;
public class LessMatch { public class LessMatch {
public boolean match(Integer left, Integer right) { public boolean match(Integer left, Integer right) {
return left <= right; return left < right;
} }
public boolean match(Long left, Long right) { public boolean match(Long left, Long right) {
return left <= right; return left < right;
} }
public boolean match(Float left, Float right) { public boolean match(Float left, Float right) {
return left <= right; return left < right;
} }
public boolean match(Double left, Double right) { public boolean match(Double left, Double right) {
return left <= right; return left < right;
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册