make parser package access

This commit is contained in:
Doug MacEachern 2006-02-27 00:40:36 +00:00
parent 7d2596e0fe
commit 797d9c1a13
1 changed files with 2 additions and 2 deletions

View File

@ -30,11 +30,11 @@ public class NetServices {
System.getProperty("sigar.net.services.file", defaultFile);
}
private interface EntryReader {
interface EntryReader {
public void process(String name, String port, List aliases);
}
private static void parse(String fileName, EntryReader entry) {
static void parse(String fileName, EntryReader entry) {
File file = new File(fileName);
if (!file.exists()) {
return;