Skip to content

Commit 66fd630

Browse files
committed
---
yaml --- r: 1729 b: refs/heads/master c: f4d3b95 h: refs/heads/master i: 1727: 7ffb4e4
1 parent 42737d7 commit 66fd630

42 files changed

Lines changed: 621 additions & 109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 7d87d3ce92d781a5c3fbb204f1e99ba9ff500ef4
2+
refs/heads/master: f4d3b95108fed2c3902415d4f70c38689bad45b0
33
refs/heads/travis: e21ee7b88a5edc3f3d8c71f90c3fc32abf7e8dd6
44
refs/heads/gh-pages: d1b373c30c176edc08692348167bec3a244bb823
55
refs/heads/bigquery: 762fa5830e6c398c0396177e3e7fd243bd62cfc3

trunk/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ When changes are made to authentication and project ID-related code, authenticat
3232

3333
Known issue: If you have installed the Google Cloud SDK, be sure to log in (using `gcloud auth login`) before running tests. Though the Datastore tests use a local Datastore emulator that doesn't require authentication, they will not run if you have the Google Cloud SDK installed but aren't authenticated.
3434

35+
**Please, do not use your production projects for executing integration tests.** While we do our best to make our tests independent of your project's state and content, they do perform create, modify and deletes, and you do not want to have your production data accidentally modified.
36+
3537
Adding Features
3638
---------------
3739
In order to add a feature to gcloud-java:

trunk/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ If you are using Maven, add this to your pom.xml file
2929
<dependency>
3030
<groupId>com.google.gcloud</groupId>
3131
<artifactId>gcloud-java</artifactId>
32-
<version>0.1.3</version>
32+
<version>0.1.4</version>
3333
</dependency>
3434
```
3535
If you are using Gradle, add this to your dependencies
3636
```Groovy
37-
compile 'com.google.gcloud:gcloud-java:0.1.3'
37+
compile 'com.google.gcloud:gcloud-java:0.1.4'
3838
```
3939
If you are using SBT, add this to your dependencies
4040
```Scala
41-
libraryDependencies += "com.google.gcloud" % "gcloud-java" % "0.1.3"
41+
libraryDependencies += "com.google.gcloud" % "gcloud-java" % "0.1.4"
4242
```
4343

4444
Example Applications

trunk/gcloud-java-bigquery/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ If you are using Maven, add this to your pom.xml file
2222
<dependency>
2323
<groupId>com.google.gcloud</groupId>
2424
<artifactId>gcloud-java-bigquery</artifactId>
25-
<version>0.1.3</version>
25+
<version>0.1.4</version>
2626
</dependency>
2727
```
2828
If you are using Gradle, add this to your dependencies
2929
```Groovy
30-
compile 'com.google.gcloud:gcloud-java-bigquery:0.1.3'
30+
compile 'com.google.gcloud:gcloud-java-bigquery:0.1.4'
3131
```
3232
If you are using SBT, add this to your dependencies
3333
```Scala
34-
libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.3"
34+
libraryDependencies += "com.google.gcloud" % "gcloud-java-bigquery" % "0.1.4"
3535
```
3636

3737
Example Application

trunk/gcloud-java-bigquery/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>com.google.gcloud</groupId>
1212
<artifactId>gcloud-java-pom</artifactId>
13-
<version>0.1.4-SNAPSHOT</version>
13+
<version>0.1.5-SNAPSHOT</version>
1414
</parent>
1515
<properties>
1616
<site.installationModule>gcloud-java-bigquery</site.installationModule>
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>com.google.apis</groupId>
3232
<artifactId>google-api-services-bigquery</artifactId>
33-
<version>v2-rev261-1.21.0</version>
33+
<version>v2-rev270-1.21.0</version>
3434
<scope>compile</scope>
3535
<exclusions>
3636
<exclusion>

trunk/gcloud-java-contrib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ If you are using Maven, add this to your pom.xml file
1616
<dependency>
1717
<groupId>com.google.gcloud</groupId>
1818
<artifactId>gcloud-java-contrib</artifactId>
19-
<version>0.1.3</version>
19+
<version>0.1.4</version>
2020
</dependency>
2121
```
2222
If you are using Gradle, add this to your dependencies
2323
```Groovy
24-
compile 'com.google.gcloud:gcloud-java-contrib:0.1.3'
24+
compile 'com.google.gcloud:gcloud-java-contrib:0.1.4'
2525
```
2626
If you are using SBT, add this to your dependencies
2727
```Scala
28-
libraryDependencies += "com.google.gcloud" % "gcloud-java-contrib" % "0.1.3"
28+
libraryDependencies += "com.google.gcloud" % "gcloud-java-contrib" % "0.1.4"
2929
```
3030

3131
Java Versions

trunk/gcloud-java-contrib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>com.google.gcloud</groupId>
1212
<artifactId>gcloud-java-pom</artifactId>
13-
<version>0.1.4-SNAPSHOT</version>
13+
<version>0.1.5-SNAPSHOT</version>
1414
</parent>
1515
<properties>
1616
<site.installationModule>gcloud-java-contrib</site.installationModule>

trunk/gcloud-java-core/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ If you are using Maven, add this to your pom.xml file
1919
<dependency>
2020
<groupId>com.google.gcloud</groupId>
2121
<artifactId>gcloud-java-core</artifactId>
22-
<version>0.1.3</version>
22+
<version>0.1.4</version>
2323
</dependency>
2424
```
2525
If you are using Gradle, add this to your dependencies
2626
```Groovy
27-
compile 'com.google.gcloud:gcloud-java-core:0.1.3'
27+
compile 'com.google.gcloud:gcloud-java-core:0.1.4'
2828
```
2929
If you are using SBT, add this to your dependencies
3030
```Scala
31-
libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.3"
31+
libraryDependencies += "com.google.gcloud" % "gcloud-java-core" % "0.1.4"
3232
```
3333

3434
Troubleshooting

trunk/gcloud-java-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>com.google.gcloud</groupId>
1212
<artifactId>gcloud-java-pom</artifactId>
13-
<version>0.1.4-SNAPSHOT</version>
13+
<version>0.1.5-SNAPSHOT</version>
1414
</parent>
1515
<properties>
1616
<site.installationModule>gcloud-java-core</site.installationModule>

trunk/gcloud-java-core/src/main/java/com/google/gcloud/BaseWriteChannel.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import java.io.IOException;
2222
import java.io.Serializable;
2323
import java.nio.ByteBuffer;
24+
import java.nio.channels.ClosedChannelException;
2425
import java.util.Arrays;
2526
import java.util.Objects;
2627

@@ -114,9 +115,9 @@ private void flush() {
114115
}
115116
}
116117

117-
private void validateOpen() throws IOException {
118+
private void validateOpen() throws ClosedChannelException {
118119
if (!isOpen) {
119-
throw new IOException("stream is closed");
120+
throw new ClosedChannelException();
120121
}
121122
}
122123

0 commit comments

Comments
 (0)