Skip to content

Commit 1e11d8a

Browse files
committed
---
yaml --- r: 4557 b: refs/heads/logging-alpha c: f4d3b95 h: refs/heads/master i: 4555: 039f847
1 parent 4b0107d commit 1e11d8a

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
@@ -12,7 +12,7 @@ refs/heads/compute-alpha: 969cba2627f1d53d352cc4a5ffe0879dacf65e6c
1212
refs/heads/dns-alpha: 2f90e7e338349287ace33375896907af0f032ca1
1313
refs/heads/dns-alpha-batch: 17442b07867021b85d0452f5f3eda29a3413288f
1414
refs/heads/gcs-nio: 283aeaf15efdcf3621eb6859f05e55ad7764375d
15-
refs/heads/logging-alpha: 7d87d3ce92d781a5c3fbb204f1e99ba9ff500ef4
15+
refs/heads/logging-alpha: f4d3b95108fed2c3902415d4f70c38689bad45b0
1616
refs/tags/v0.1.0: a615317f7424ed58621b1f65d5c4d8cbbe8a6ed8
1717
refs/tags/v0.1.1: 7a7f6985fe465e9dd6a075af55493f42b4933be0
1818
refs/tags/v0.1.2: 3eb3fe866ba22487686048f45d927b8c8638ea3f

branches/logging-alpha/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:

branches/logging-alpha/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

branches/logging-alpha/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

branches/logging-alpha/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>

branches/logging-alpha/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

branches/logging-alpha/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>

branches/logging-alpha/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

branches/logging-alpha/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>

branches/logging-alpha/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)