Skip to content

Commit 365f09a

Browse files
committed
oops
1 parent 0d710f9 commit 365f09a

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

plugins/com.google.cloud.tools.eclipse.appengine.localserver/src/com/google/cloud/tools/eclipse/appengine/localserver/server/LocalAppEngineServerLaunchConfigurationDelegate.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -145,27 +145,6 @@ public ILaunch getLaunch(ILaunchConfiguration configuration, String mode) throws
145145
return super.getLaunch(configuration, mode);
146146
}
147147

148-
private void printFileContents(IContainer container, String path) {
149-
java.nio.file.Path path = Paths.get("foo");
150-
path.relativize(other)
151-
container.getProject().getWorkspace().getRoot().
152-
IResource resource = container.findMember(path);
153-
if (!resource.exists()) {
154-
System.err.println("--- Path does not exist: " + path);
155-
} else if (resource.getType() != IResource.FILE) {
156-
System.err.println("--- Path is not a file: " + path);
157-
} else {
158-
try {
159-
String contents = CharStreams.toString(
160-
new InputStreamReader(((IFile) resource).getContents(), StandardCharsets.UTF_8));
161-
System.out.printf("---- Contents of %s ----\n%s\n----------------",
162-
path, contents);
163-
} catch (Exception ex) {
164-
System.err.println("--- Exception accesing file: " + path + ": " + ex);
165-
}
166-
}
167-
}
168-
169148
/**
170149
* Create a CloudSdk RunConfiguration corresponding to the launch configuration and server
171150
* defaults. Details are pulled from {@link ILaunchConfiguration#getAttributes() launch

0 commit comments

Comments
 (0)