From d8d504000631c6670df4f12373532b76326353cb Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Thu, 23 Mar 2023 14:32:50 +0100 Subject: [PATCH] Fix typo in method name --- src/org/argeo/build/Make.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/argeo/build/Make.java b/src/org/argeo/build/Make.java index dde90a4..4701c73 100644 --- a/src/org/argeo/build/Make.java +++ b/src/org/argeo/build/Make.java @@ -118,7 +118,7 @@ public class Make { Path sdkMkP = findSdkMk(execDirectory); Objects.requireNonNull(sdkMkP, "No " + SDK_MK + " found under " + execDirectory); - Map context = readeMakefileVariables(sdkMkP); + Map 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 branchVariables = readeMakefileVariables(branchMk); + Map 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 readeMakefileVariables(Path path) throws IOException { + Map readMakefileVariables(Path path) throws IOException { Map context = new HashMap<>(); List sdkMkLines = Files.readAllLines(path); lines: for (String line : sdkMkLines) { -- 2.30.2