Skip to content

Commit

Permalink
updated to latest okhttp libraries
Browse files Browse the repository at this point in the history
copies directly downloaded from maven.org
  • Loading branch information
hrj committed Jan 9, 2015
1 parent 6c3b904 commit eccb03d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Platform_Core/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<classpathentry excluding="lib/*" kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/javatuples-1.2.jar"/>
<classpathentry kind="lib" path="lib/okhttp-urlconnection-2.1.1-SNAPSHOT.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/Platform_Public_API"/>
<classpathentry combineaccessrules="false" kind="src" path="/Common"/>
<classpathentry kind="lib" path="lib/jooq-3.4.2.jar"/>
<classpathentry kind="lib" path="lib/h2-1.4.180.jar"/>
<classpathentry kind="lib" path="lib/public-suffix-list_0.1.jar"/>
<classpathentry kind="lib" path="lib/okhttp-2.1.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="lib/okio-1.0.1.jar"/>
<classpathentry kind="lib" path="lib/okhttp-2.2.0.jar"/>
<classpathentry kind="lib" path="lib/okhttp-urlconnection-2.2.0.jar"/>
<classpathentry kind="lib" path="lib/okio-1.2.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Binary file removed src/Platform_Core/lib/okhttp-2.1.1-SNAPSHOT.jar
Binary file not shown.
Binary file added src/Platform_Core/lib/okhttp-2.2.0.jar
Binary file not shown.
Binary file not shown.
Binary file removed src/Platform_Core/lib/okio-1.0.1.jar
Binary file not shown.
Binary file added src/Platform_Core/lib/okio-1.2.0.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -399,12 +399,12 @@ public PermissionCollection getPermissions(final CodeSource codesource) {
permissions.add(new PropertyPermission("line.separator", "read"));
permissions.add(new RuntimePermission("getClassLoader"));

} else if (path.endsWith("okhttp-urlconnection-2.1.1-SNAPSHOT.jar")) {
} else if (path.endsWith("okhttp-urlconnection-2.2.0.jar")) {
permissions.add(new NetPermission("getProxySelector"));
permissions.add(new NetPermission("getCookieHandler"));
permissions.add(new PropertyPermission("http.*", "read"));
permissions.add(new SocketPermission("*", "connect,resolve,listen,accept"));
} else if (path.endsWith("okhttp-2.1.1-SNAPSHOT.jar")) {
} else if (path.endsWith("okhttp-2.2.0.jar")) {
permissions.add(new NetPermission("getProxySelector"));
permissions.add(new NetPermission("getCookieHandler"));
permissions.add(new PropertyPermission("http.*", "read"));
Expand Down

0 comments on commit eccb03d

Please sign in to comment.