Skip to content

Commit

Permalink
♻️ autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbm committed Jul 12, 2021
1 parent ddd39b3 commit 427d045
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class ApiService {

constructor(private http: HttpClient) {}

// Handle Errors -- TODO use it
// Handle Errors -- TODO use it to have better and consistent error messages. (but do we need them?)
error(error: HttpErrorResponse): Observable<String> {
let errorMessage: string = '';
if (error.error instanceof ErrorEvent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class RepositoryDetailsComponent implements OnInit {
};
getdata = false;
doughnutChart;

lastLintTime;
latestLintingIndex: number;
latestLintingResults: CheckResults[];
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/java/amosproj/server/linter/Linter.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void checkEverything(org.gitlab4j.api.models.Project apiProject, LocalDat
LintingResult lintingResult = new LintingResult(currLintingProject, timestamp);
lintingResultRepository.save(lintingResult);

// TODO multithreaded in ThreadPool oder ExecutorService
// TODO performance: multithreaded in ThreadPool oder ExecutorService
runChecks(apiProject, lintingResult);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void run(String checkName, GitLab gitLab, Project project, CheckRe
Method method = obj.getDeclaredMethod("evaluate", GitLab.class, Project.class);
result = (boolean) method.invoke(obj.getConstructor().newInstance(), gitLab, project);
} catch (ClassNotFoundException | NoSuchMethodException | InvocationTargetException | IllegalAccessException | InstantiationException e) {
// TODO handle some of the exceptions differently (e.g. return false upon ClassNotFound Exception.
// TODO handle some of the exceptions differently (e.g. return false upon ClassNotFound Exception).
e.printStackTrace();
}
CheckResult cr = new CheckResult(lintingResult, checkName, result);
Expand Down

0 comments on commit 427d045

Please sign in to comment.