Skip to content

Commit

Permalink
Fix typo on initialize method
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed Dec 24, 2023
1 parent 900db4e commit 0709163
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class AlphaSkiaAndroid extends AlphaSkiaPlatform {
public static final AlphaSkiaAndroid INSTANCE = new AlphaSkiaAndroid();

@Override
public void inititalize() {
public void initialize() {
System.loadLibrary("alphaskiajni");
setNativeLibLoaded();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public abstract class AlphaSkiaJre extends AlphaSkiaPlatform {

@SuppressWarnings("UnsafeDynamicallyLoadedCode")
@Override
public void inititalize() throws IOException {
public void initialize() throws IOException {
String[] libraries = getJavaResources();

Path tmpDir = Files.createTempDirectory("alphaskia");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected static void setNativeLibLoaded() {
* Initializes the alphaSkia platform specifics using the given context.
* @throws IOException Thrown if some IO related errors occur while loading the libraries.
*/
public abstract void inititalize() throws IOException;
public abstract void initialize() throws IOException;

/**
* Maps the current CPU architecture to the alphaSkia internal architecture.
Expand Down

0 comments on commit 0709163

Please sign in to comment.