From bf8cb13cced1776f90a30b709b657c928b73471b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Sun, 25 Nov 2018 22:37:05 +0100 Subject: [PATCH] Remove ui order --- .../sourceforge/pmd/properties/PropertyBuilder.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyBuilder.java b/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyBuilder.java index 6cddaa50bd..ae106f8e21 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyBuilder.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/properties/PropertyBuilder.java @@ -37,7 +37,6 @@ public abstract class PropertyBuilder, T> { protected boolean isDefinedExternally; private String name; private String description; - private float uiOrder = 0f; private T defaultValue; @@ -69,12 +68,6 @@ public abstract class PropertyBuilder, T> { } - @Deprecated - float getUiOrder() { - return uiOrder; - } - - T getDefaultValue() { return defaultValue; } @@ -229,7 +222,7 @@ public abstract class PropertyBuilder, T> { return new GenericPropertyDescriptor<>( getName(), getDescription(), - getUiOrder(), + 0f, getDefaultValue(), getConstraints(), parser, @@ -358,7 +351,7 @@ public abstract class PropertyBuilder, T> { return (PropertyDescriptor) new GenericMultiValuePropertyDescriptor<>( getName(), getDescription(), - getUiOrder(), + 0f, getDefaultValue(), getConstraints(), parser,