Skip to content

Commit d03765c

Browse files
committed
Minor Changes
1 parent f84d9c1 commit d03765c

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎client/src/types/diagnostics.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type LJWarning = CustomWarning | ExternalClassNotFoundWarning | ExternalM
2626
type BaseDiagnostic = {
2727
title: string;
2828
message: string;
29-
details: string;
29+
hint: string;
3030
file: string;
3131
position: SourcePosition | null;
3232
}

‎server/src/main/java/dtos/diagnostics/LJDiagnosticDTO.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ public class LJDiagnosticDTO {
1111
public final String type;
1212
public final String title;
1313
public final String message;
14-
public final String details;
14+
public final String hint;
1515
public final String file;
1616
public final SourcePositionDTO position;
1717

1818
public LJDiagnosticDTO(String category, String type, LJDiagnostic diagnostic) {
19-
this(category, type, diagnostic.getTitle(), diagnostic.getMessage(), diagnostic.getDetails(),
19+
this(category, type, diagnostic.getTitle(), diagnostic.getMessage(), diagnostic.getHint(),
2020
diagnostic.getFile(), SourcePositionDTO.from(diagnostic.getPosition()));
2121
}
2222

23-
public LJDiagnosticDTO(String category, String type, String title, String message, String details, String file,
23+
public LJDiagnosticDTO(String category, String type, String title, String message, String hint, String file,
2424
SourcePositionDTO position) {
2525
this.category = category;
2626
this.type = type;
2727
this.title = title;
2828
this.message = message;
29-
this.details = details;
29+
this.hint = hint;
3030
this.file = file;
3131
this.position = position;
3232
}

‎server/src/main/java/dtos/errors/LJErrorDTO.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ protected LJErrorDTO(String category, String type, LJError error) {
2222
this.translationTable = TranslationTableDTO.from(error.getTranslationTable());
2323
}
2424

25-
public LJErrorDTO(String category, String type, String title, String message, String details, String file,
25+
public LJErrorDTO(String category, String type, String title, String message, String hint, String file,
2626
SourcePositionDTO position, TranslationTableDTO translationTable) {
27-
super(category, type, title, message, details, file, position);
27+
super(category, type, title, message, hint, file, position);
2828
this.translationTable = translationTable;
2929
}
3030

0 commit comments

Comments
 (0)