Skip to content

Commit

Permalink
more checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Kannan committed Dec 19, 2015
1 parent a3f1769 commit a67db1f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* A testing helper for Google Cloud Resource Manager.
*
* <p>A simple usage example:
* <p>Before the test:
* Before the test:
* <pre> {@code
* LocalResourceManagerHelper resourceManagerHelper = LocalResourceManagerHelper.create();
* ResourceManager resourceManager = resourceManagerHelper.options().service();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ private static com.google.api.services.cloudresourcemanager.model.Project copyFr
.setProjectId(from.getProjectId())
.setName(from.getName())
.setLabels(from.getLabels() != null ? ImmutableMap.copyOf(from.getLabels()) : null)
.setProjectNumber(
from.getProjectNumber() != null ? from.getProjectNumber().longValue() : null)
.setProjectNumber(from.getProjectNumber())
.setCreateTime(from.getCreateTime())
.setLifecycleState(from.getLifecycleState())
.setParent(from.getParent() != null ? from.getParent().clone() : null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public void testListFilterOptions() {
@Test
public void testReplace() {
ProjectInfo createdProject = RESOURCE_MANAGER.create(COMPLETE_PROJECT);
String newName = "new name";
Map<String, String> newLabels = ImmutableMap.of("new k1", "new v1");
ProjectInfo anotherCompleteProject = ProjectInfo.builder(COMPLETE_PROJECT.projectId())
.labels(newLabels)
Expand Down

0 comments on commit a67db1f

Please sign in to comment.