Skip to content

Commit

Permalink
chore(fix): fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
minherz committed Aug 10, 2021
1 parent 450b9af commit 379aca9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Expand Up @@ -384,9 +384,8 @@ public ApiFuture<Boolean> deleteSinkAsync(String sink) {
/**
* Creates a new {@code ListLogsRequest} object.
*
* Builds an instance of {@code ListLogsRequest} using page size, page token and project id
* from the {@code LoggingOptions}.
* The project id is used as the request's parent parameter.
* <p>Builds an instance of {@code ListLogsRequest} using page size, page token and project id
* from the {@code LoggingOptions}. The project id is used as the request's parent parameter.
*
* @see com.google.logging.v2.ListLogEntriesRequest
* @return the created {@code ListLogsRequest} object
Expand Down
Expand Up @@ -1683,7 +1683,8 @@ public void testListLogsAsyncWithEmptySet() throws ExecutionException, Interrupt
}

@Test
public void testListLogsAsyncNextPageWithLogNames() throws ExecutionException, InterruptedException {
public void testListLogsAsyncNextPageWithLogNames()
throws ExecutionException, InterruptedException {
EasyMock.replay(rpcFactoryMock);
logging = options.getService();
List<String> logNames1 = ImmutableList.of(LOG_NAME1, LOG_NAME2);
Expand Down
Expand Up @@ -38,10 +38,10 @@ public static void main(String[] args) throws Exception {
// List all log entries
Page<LogEntry> entries = logging.listLogEntries(EntryListOption.filter(logFilter));
while (entries != null) {
for (LogEntry logEntry : entries.iterateAll()) {
System.out.println(logEntry);
}
entries = entries.getNextPage();
for (LogEntry logEntry : entries.iterateAll()) {
System.out.println(logEntry);
}
entries = entries.getNextPage();
}
}
}
Expand Down

0 comments on commit 379aca9

Please sign in to comment.