Skip to content

Commit f6e189c

Browse files
committed
Use 4.0.1 version of the swim backend
1 parent 9c83a24 commit f6e189c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Swim is a completely integrated solution for building scalable, end-to-end strea
1111

1212
## Run
1313

14-
* [Install JDK 9+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
14+
* [Install JDK 11+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
1515
* Ensure that your `JAVA_HOME` environment variable is pointed to your Java installation location.
1616
* Ensure that your `PATH` includes `$JAVA_HOME`.
1717

README.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Swim 是建造可规模化扩展的,终端到终端的流式(streaming)应
1111

1212

1313
## Run
14-
* [安装 JDK 9+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
14+
* [安装 JDK 11+](https://www.oracle.com/technetwork/java/javase/downloads/index.html).
1515
* 确保您的`JAVA_HOME`环境变量设置指向您的Java安装地址。
1616
* 确保您的`PATH`包含`$JAVA_HOME`
1717

@@ -23,4 +23,4 @@ Swim 是建造可规模化扩展的,终端到终端的流式(streaming)应
2323

2424
浏览 [伺服器(server)](https://github.com/swimos/tutorial/tree/master/server)学习如何建立和处理在Swim伺服器(server)上的数据。
2525

26-
接着,浏览 [操作界面(ui)](https://github.com/swimos/tutorial/tree/master/ui) 来学习与众不同的Swim视觉化数据处理。
26+
接着,浏览 [操作界面(ui)](https://github.com/swimos/tutorial/tree/master/ui) 来学习与众不同的Swim视觉化数据处理。

server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
group = 'org.swimos'
1717
description = 'Tutorial- Web Agents'
1818
ext.moduleName = 'swim.tutorial'
19-
sourceCompatibility = 1.9
19+
sourceCompatibility = 11
2020
version = project.property('swim.version')
2121
mainClassName = 'swim.tutorial.TutorialPlane'
2222

server/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
swim.version=3.11.0
1+
swim.version=4.0.1

server/src/main/java/swim/tutorial/DataSource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package swim.tutorial;
22

3-
import swim.api.ref.SwimRef;
3+
import swim.api.ref.WarpRef;
44
import swim.structure.Record;
55

66
/**
@@ -9,10 +9,10 @@
99
*/
1010
class DataSource {
1111

12-
private final SwimRef ref;
12+
private final WarpRef ref;
1313
private final String hostUri;
1414

15-
DataSource(SwimRef ref, String hostUri) {
15+
DataSource(WarpRef ref, String hostUri) {
1616
this.ref = ref;
1717
this.hostUri = hostUri;
1818
}

0 commit comments

Comments
 (0)