Skip to content

Commit c5d2136

Browse files
committed
cannot use "var" in java2script because we need this for the Jmol legacy
transpiler as well.
1 parent 755c88d commit c5d2136

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20210611154409
1+
20210720070346
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20210611154409
1+
20210720070346

sources/net.sf.j2s.java.core/src/javajs/http/HttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public interface HttpRequest {
9090
* @return
9191
*/
9292
public default HttpRequest addFilePart(String name, String data, String contentType, String fileName) {
93-
var stream = new ByteArrayInputStream(data.getBytes());
93+
ByteArrayInputStream stream = new ByteArrayInputStream(data.getBytes());
9494
return addFilePart(name, stream, contentType, fileName);
9595
}
9696

0 commit comments

Comments
 (0)