Skip to content

Commit 1a3fa12

Browse files
committed
improve variable names
1 parent 83b47ef commit 1a3fa12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/jabref/gui/EntryTypeView.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ public EntryTypeView(LibraryTab libraryTab, DialogService dialogService, Prefere
9292
btnGenerate.textProperty().bind(EasyBind.map(viewModel.searchingProperty(), searching -> searching ? Localization.lang("Searching...") : Localization.lang("Generate")));
9393
btnGenerate.disableProperty().bind(viewModel.idFieldValidationStatus().validProperty().not().or(viewModel.searchingProperty()));
9494

95-
EasyBind.subscribe(viewModel.searchSuccesfulProperty(), value -> {
96-
if (value) {
95+
EasyBind.subscribe(viewModel.searchSuccesfulProperty(), isSuccessFull -> {
96+
if (isSuccessFull) {
9797
setEntryTypeForReturnAndClose(Optional.empty());
9898
}
9999
});
100100
}
101101

102-
private void addEntriesToPane(FlowPane pane, Collection<? extends BibEntryType> entries) {
103-
for (BibEntryType entryType : entries) {
102+
private void addEntriesToPane(FlowPane pane, Collection<? extends BibEntryType> entryTypes) {
103+
for (BibEntryType entryType : entryTypes) {
104104
Button entryButton = new Button(entryType.getType().getDisplayName());
105105
entryButton.setUserData(entryType);
106106
entryButton.setOnAction(event -> setEntryTypeForReturnAndClose(Optional.of(entryType)));

0 commit comments

Comments
 (0)