You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/appconfiguration/azure-spring-cloud-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/feature/filters/PercentageFilter.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,15 @@ public class PercentageFilter implements FeatureFilter {
24
24
*
25
25
* @param context The feature evaluation context.
26
26
* @return True if the feature is enabled, false otherwise.
27
+
* @throws NumberFormatException if the percentage filter setting is not a parsable double
Copy file name to clipboardExpand all lines: sdk/appconfiguration/azure-spring-cloud-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/feature/filters/PercentageFilterTest.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,16 @@ public void errorPercentage() {
0 commit comments