Fix typo in method name
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 23 Mar 2023 13:32:50 +0000 (14:32 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 23 Mar 2023 13:32:50 +0000 (14:32 +0100)
src/org/argeo/build/Make.java

index dde90a490bf43f04c371a3ac18c074b124947b9b..4701c73d893f1a37d2eb892d1ca89f6f87212095 100644 (file)
@@ -118,7 +118,7 @@ public class Make {
                Path sdkMkP = findSdkMk(execDirectory);
                Objects.requireNonNull(sdkMkP, "No " + SDK_MK + " found under " + execDirectory);
 
-               Map<String, String> context = readeMakefileVariables(sdkMkP);
+               Map<String, String> context = readMakefileVariables(sdkMkP);
                sdkSrcBase = Paths.get(context.computeIfAbsent("SDK_SRC_BASE", (key) -> {
                        throw new IllegalStateException(key + " not found");
                })).toAbsolutePath();
@@ -266,7 +266,7 @@ public class Make {
                final String branch;
                Path branchMk = sdkSrcBase.resolve(BRANCH_MK);
                if (Files.exists(branchMk)) {
-                       Map<String, String> branchVariables = readeMakefileVariables(branchMk);
+                       Map<String, String> branchVariables = readMakefileVariables(branchMk);
                        branch = branchVariables.get("BRANCH");
                } else {
                        branch = null;
@@ -523,7 +523,7 @@ public class Make {
         * Reads Makefile variable assignments of the form =, :=, or ?=, ignoring white
         * spaces. To be used with very simple included Makefiles only.
         */
-       Map<String, String> readeMakefileVariables(Path path) throws IOException {
+       Map<String, String> readMakefileVariables(Path path) throws IOException {
                Map<String, String> context = new HashMap<>();
                List<String> sdkMkLines = Files.readAllLines(path);
                lines: for (String line : sdkMkLines) {