diff --git a/.project b/.project index dd9332e8fc5ba24701858e6591eea445bce4ae2e..351f8ea06fa2290fafbf59ef61f0a92beeda7245 100644 --- a/.project +++ b/.project @@ -20,4 +20,15 @@ <nature>org.eclipse.jdt.core.javanature</nature> <nature>org.eclipse.buildship.core.gradleprojectnature</nature> </natures> + <filteredResources> + <filter> + <id>1649246802409</id> + <name></name> + <type>30</type> + <matcher> + <id>org.eclipse.core.resources.regexFilterMatcher</id> + <arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> + </matcher> + </filter> + </filteredResources> </projectDescription> diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a4b4429748d92848a3d820c7b099fbeb941066ae..41dfb87909a877d96c3af4adccce4c7a301b55a2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/io/fp/shapes/Util.java b/src/main/java/io/fp/shapes/Util.java index 75c7601c584aaf30b633e2a96d20b637a290e15b..45ffe0a6c795f67468dcac96450b82dc560de971 100644 --- a/src/main/java/io/fp/shapes/Util.java +++ b/src/main/java/io/fp/shapes/Util.java @@ -27,7 +27,7 @@ public class Util { if (object!=null) { if (object instanceof Rectangle) { result+=((Rectangle)object).area(); - } + } if (object instanceof Circle) { result+=((Circle)object).area(); }