Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
  • Loading branch information
woess committed Sep 12, 2023
1 parent 8619545 commit 1f826d9
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -41,8 +41,6 @@
package org.graalvm.wasm.test;

import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.function.Predicate;

Expand All @@ -67,11 +65,6 @@ protected static Predicate<String> filterTestName() {
}
}

public static String readFileToString(Path path, Charset charset) throws IOException {
byte[] rawBytes = Files.readAllBytes(path);
return new String(rawBytes, charset);
}

@Test
public abstract void test() throws IOException;
}

0 comments on commit 1f826d9

Please sign in to comment.