Skip to content

Commit fae465f

Browse files
fix: cleanup
1 parent b0adf0b commit fae465f

File tree

1 file changed

+3
-3
lines changed
  • example-cloud/src/main/java/com/devcycle/example/java/sdk/app/controller

1 file changed

+3
-3
lines changed

example-cloud/src/main/java/com/devcycle/example/java/sdk/app/controller/HelloWorld.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public String homePageActivatedFlagValue(Model model) {
4545
String updateHomePageValue = dvcCloud.variableValue(getUser(), variableKey, "default string");
4646
model.addAttribute("variableKey", variableKey);
4747
model.addAttribute("variationValue", updateHomePageValue);
48-
}catch (DevCycleException e){
48+
} catch(DevCycleException e) {
4949
System.out.println("DevCycleException: " + e.getMessage());
5050
}
5151
return "fragments/flagData :: value ";
@@ -54,14 +54,14 @@ public String homePageActivatedFlagValue(Model model) {
5454
@GetMapping("/cloud/activateFlagDetails")
5555
public String homePageActivatedFlagDetails(Model model) {
5656
String variableKey = "string-var";
57-
try{
57+
try {
5858
Variable<String> updateHomePageVariable = dvcCloud.variable(getUser(), variableKey, "default string");
5959

6060
// if the variable "string-var" doesn't exist isDefaulted will be true
6161
model.addAttribute("isDefaultValue", updateHomePageVariable.getIsDefaulted());
6262
model.addAttribute("variableKey", variableKey);
6363
model.addAttribute("variationValue", updateHomePageVariable.getValue());
64-
}catch (DevCycleException e){
64+
} catch(DevCycleException e) {
6565
System.out.println("DevCycleException: " + e.getMessage());
6666
}
6767
return "fragments/flagDataDetails :: value ";

0 commit comments

Comments
 (0)