Skip to content

Commit d154112

Browse files
committed
remove unneeded ;
1 parent 8c7f303 commit d154112

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scala/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ import com.ibm.ibmos2spark.CloudObjectStorage
156156
// "insert to code" link in your DSX notebook.
157157

158158
var credentials = scala.collection.mutable.HashMap[String, String](
159-
"endpoint"->"https://identity.open.softlayer.com",
159+
"endPoint"->"https://identity.open.softlayer.com",
160160
"accessKey"->"xx",
161161
"secretKey"->"xx"
162162
)

scala/src/main/scala/Osconfig.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ class CloudObjectStorage(sc: SparkContext, credentials: HashMap[String, String],
166166
}
167167

168168
// set config
169-
val hadoopConf = sc.hadoopConfiguration;
170-
val prefix = "fs.s3d.service";
169+
val hadoopConf = sc.hadoopConfiguration
170+
val prefix = "fs.s3d.service"
171171
hadoopConf.set(prefix + ".endpoint", credentials("endPoint"))
172172
hadoopConf.set(prefix + ".access.key", credentials("accessKey"))
173173
hadoopConf.set(prefix + ".secret.key", credentials("secretKey"))

0 commit comments

Comments
 (0)