diff --git a/src/main/java/io/github/jhipster/online/domain/Jdl.java b/src/main/java/io/github/jhipster/online/domain/Jdl.java index 6b33436d..2dedaa00 100644 --- a/src/main/java/io/github/jhipster/online/domain/Jdl.java +++ b/src/main/java/io/github/jhipster/online/domain/Jdl.java @@ -48,7 +48,8 @@ public class Jdl implements Serializable { @JsonIgnore private JdlMetadata jdlMetadata; - // jhipster-needle-entity-add-field - Jhipster will add fields here, do not remove + // jhipster-needle-entity-add-field - Jhipster will add fields here, do not + // remove public Long getId() { return id; } @@ -122,4 +123,4 @@ public int hashCode() { public String toString() { return "JdlMetadata{" + "id=" + getId() + "}"; } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/domain/YoRC.java b/src/main/java/io/github/jhipster/online/domain/YoRC.java index 598c93ed..10a39fa7 100644 --- a/src/main/java/io/github/jhipster/online/domain/YoRC.java +++ b/src/main/java/io/github/jhipster/online/domain/YoRC.java @@ -872,4 +872,4 @@ public String toString() { return basicInfo + dateTimeInfo + serverInfo + databaseInfo + serviceInfo + clientInfo + applicationInfo + testingInfo; } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/service/EntityStatsService.java b/src/main/java/io/github/jhipster/online/service/EntityStatsService.java index b8c195b6..4a27d8fb 100644 --- a/src/main/java/io/github/jhipster/online/service/EntityStatsService.java +++ b/src/main/java/io/github/jhipster/online/service/EntityStatsService.java @@ -152,4 +152,4 @@ public List getFieldCount(Instant after, EntityStatColu return QueryUtil.createDistributionQueryAndCollectData(after, dbTemporalFunction, query, entityManager); } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/service/GitService.java b/src/main/java/io/github/jhipster/online/service/GitService.java index 7d2a7674..1e09910b 100644 --- a/src/main/java/io/github/jhipster/online/service/GitService.java +++ b/src/main/java/io/github/jhipster/online/service/GitService.java @@ -66,7 +66,7 @@ public void pushNewApplicationToGit(User user, File workingDir, String organizat remoteAddCommand.setUri(urIish); } else if (gitProvider.equals(GitProvider.GITLAB)) { URIish urIish = new URIish(applicationProperties.getGitlab().getHost() + "/" + organization + "/" + applicationName + ".git") - .setPass(user.getGitlabOAuthToken()); + .setPass(user.getGitlabOAuthToken()); remoteAddCommand.setUri(urIish); } remoteAddCommand.call(); @@ -162,4 +162,4 @@ private CredentialsProvider getCredentialProvider(User user, GitProvider gitProv } return null; } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/service/SubGenEventService.java b/src/main/java/io/github/jhipster/online/service/SubGenEventService.java index f6e63157..5b025788 100644 --- a/src/main/java/io/github/jhipster/online/service/SubGenEventService.java +++ b/src/main/java/io/github/jhipster/online/service/SubGenEventService.java @@ -119,4 +119,4 @@ public List getFieldCount(Instant after, SubGenEventType field public List getDeploymentToolDistribution(Instant after, TemporalValueType dbTemporalFunction) { return subGenEventStatisticsService.getDeploymentToolDistribution(after, dbTemporalFunction); } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/service/util/SubGenEventStatisticsService.java b/src/main/java/io/github/jhipster/online/service/util/SubGenEventStatisticsService.java index 5948b2c4..46fe5f1e 100644 --- a/src/main/java/io/github/jhipster/online/service/util/SubGenEventStatisticsService.java +++ b/src/main/java/io/github/jhipster/online/service/util/SubGenEventStatisticsService.java @@ -17,7 +17,7 @@ * limitations under the License. */ - package io.github.jhipster.online.service.util; +package io.github.jhipster.online.service.util; import io.github.jhipster.online.domain.SubGenEvent; import io.github.jhipster.online.domain.SubGenEvent_; @@ -73,11 +73,12 @@ public List getFieldCount(Instant after, SubGenEventType field .setParameter(QueryUtil.TYPE, field.getDatabaseValue()) .getResultList() .stream() - .map(entry -> - new TemporalCountDTO( - TemporalValueType.absoluteMomentToInstant(entry.getMoment().longValue(), dbTemporalFunction), - entry.getCount() - ) + .map( + entry -> + new TemporalCountDTO( + TemporalValueType.absoluteMomentToInstant(entry.getMoment().longValue(), dbTemporalFunction), + entry.getCount() + ) ) .collect(Collectors.toList()); } @@ -109,4 +110,4 @@ public List getDeploymentToolDistribution(Instant after return result; } -} \ No newline at end of file +} diff --git a/src/main/java/io/github/jhipster/online/web/rest/GitResource.java b/src/main/java/io/github/jhipster/online/web/rest/GitResource.java index fd27292d..dc644f37 100644 --- a/src/main/java/io/github/jhipster/online/web/rest/GitResource.java +++ b/src/main/java/io/github/jhipster/online/web/rest/GitResource.java @@ -333,8 +333,8 @@ public void setAccessToken(String accessToken) { ) { Optional maybeGitProvider = GitProvider.getGitProviderByValue(gitProvider); return maybeGitProvider - .map(gitProvider1 -> - new ResponseEntity<>(this.userService.getProjects(companyName, gitProvider1), HttpStatus.OK) + .map( + gitProvider1 -> new ResponseEntity<>(this.userService.getProjects(companyName, gitProvider1), HttpStatus.OK) ) .orElseGet(() -> new ResponseEntity<>(HttpStatus.NOT_FOUND)); } @@ -358,4 +358,4 @@ public void setAccessToken(String accessToken) { return new ResponseEntity<>(result, HttpStatus.OK); } -} \ No newline at end of file +}