[x] [INFO] Compiling 388 source files to /data/portfolio/name.abuchen.portfolio.ui/target/classes
[WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[752]
item.getSubject().setNote("[" + Messages.LabelImportWarning + "]");
^^^
Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[752]
item.getSubject().setNote("[" + Messages.LabelImportWarning + "]");
^^^
Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[754]
item.getSubject().setNote("[" + Messages.LabelImportWarning + "]" + item.getNote());
^^^
Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[754]
item.getSubject().setNote("[" + Messages.LabelImportWarning + "]" + item.getNote());
^^^
Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] INFO in /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/SecurityTransferModel.java (at line 117)
if (quoteSuggestion.equals(PortfolioTransferEntry.Suggestion.none))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unlikely argument type for equals(): PortfolioTransferEntry.Suggestion seems to be unrelated to SecurityTransferModel.QuoteSuggestion
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[197]
UpdateValueStrategy strategy = new UpdateValueStrategy();
^^^^^^^^^^^^^^^^^^^
UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[197]
UpdateValueStrategy strategy = new UpdateValueStrategy();
^^^^^^^^^^^^^^^^^^^
UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[199]
strategy.setAfterConvertValidator(
v -> v != null ? ValidationStatus.ok() : ValidationStatus.error(missingValueMessage));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method setAfterConvertValidator(IValidator) belongs to the raw type UpdateValueStrategy. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[206]
context.bindValue(targetObservable, modelObservable, strategy, null);
^^^^^^^^
Type safety: The expression of type UpdateValueStrategy needs unchecked conversion to conform to UpdateValueStrategy<? super Object,? extends Object>
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[439]
UpdateValueStrategy strategy = new UpdateValueStrategy(UpdateValueStrategy.POLICY_UPDATE);
^^^^^^^^^^^^^^^^^^^
UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[439]
UpdateValueStrategy strategy = new UpdateValueStrategy(UpdateValueStrategy.POLICY_UPDATE);
^^^^^^^^^^^^^^^^^^^
UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[440]
strategy.setAfterGetValidator(value -> {
String v = (String) value;
return ((v == null || v.length() == 0 || Iban.isValid(v)) ? ValidationStatus.ok() : ValidationStatus.error(missingValueMessage));
});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: The method setAfterGetValidator(IValidator) belongs to the raw type UpdateValueStrategy. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[450]
context.bindValue(targetObservable, modelObservable, strategy, null);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type safety: Unchecked invocation bindValue(IObservableValue, IObservableValue<capture#10-of ?>, UpdateValueStrategy, null) of the generic method bindValue(IObservableValue, IObservableValue, UpdateValueStrategy<? super T,? extends M>, UpdateValueStrategy<? super M,? extends T>) of type DataBindingContext
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[450]
context.bindValue(targetObservable, modelObservable, strategy, null);
^^^^^^^^
Type safety: The expression of type UpdateValueStrategy needs unchecked conversion to conform to UpdateValueStrategy<? super Object,? extends capture#10-of ?>
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/SecuritiesChart.java:[258]
private static final String SEPERATOR = "---"; //$NON-NLS-1$
^^^^^^^^^
The value of the field SecuritiesChart.SEPERATOR is not used
26 problems (0 errors, 25 warnings, 1 info)
[x] [INFO] Compiling 388 source files to /data/portfolio/name.abuchen.portfolio.ui/target/classes [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[752] item.getSubject().setNote("[" + Messages.LabelImportWarning + "]"); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[752] item.getSubject().setNote("[" + Messages.LabelImportWarning + "]"); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[754] item.getSubject().setNote("[" + Messages.LabelImportWarning + "]" + item.getNote()); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java:[754] item.getSubject().setNote("[" + Messages.LabelImportWarning + "]" + item.getNote()); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$
[x] INFO in /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/SecurityTransferModel.java (at line 117) if (quoteSuggestion.equals(PortfolioTransferEntry.Suggestion.none)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unlikely argument type for equals(): PortfolioTransferEntry.Suggestion seems to be unrelated to SecurityTransferModel.QuoteSuggestion
[x] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/editor/PortfolioPart.java:[491] @SuppressWarnings("unchecked") ^^^^^^^^^^^ Unnecessary @SuppressWarnings("unchecked")
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[197] UpdateValueStrategy strategy = new UpdateValueStrategy(); ^^^^^^^^^^^^^^^^^^^ UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[197] UpdateValueStrategy strategy = new UpdateValueStrategy(); ^^^^^^^^^^^^^^^^^^^ UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[199] strategy.setAfterConvertValidator( v -> v != null ? ValidationStatus.ok() : ValidationStatus.error(missingValueMessage)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method setAfterConvertValidator(IValidator) belongs to the raw type UpdateValueStrategy. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[206] context.bindValue(targetObservable, modelObservable, strategy, null); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: Unchecked invocation bindValue(IObservableValue
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[206] context.bindValue(targetObservable, modelObservable, strategy, null); ^^^^^^^^ Type safety: The expression of type UpdateValueStrategy needs unchecked conversion to conform to UpdateValueStrategy<? super Object,? extends Object>
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[439] UpdateValueStrategy strategy = new UpdateValueStrategy(UpdateValueStrategy.POLICY_UPDATE); ^^^^^^^^^^^^^^^^^^^ UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[439] UpdateValueStrategy strategy = new UpdateValueStrategy(UpdateValueStrategy.POLICY_UPDATE); ^^^^^^^^^^^^^^^^^^^ UpdateValueStrategy is a raw type. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[440] strategy.setAfterGetValidator(value -> { String v = (String) value; return ((v == null || v.length() == 0 || Iban.isValid(v)) ? ValidationStatus.ok() : ValidationStatus.error(missingValueMessage)); }); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method setAfterGetValidator(IValidator) belongs to the raw type UpdateValueStrategy. References to generic type UpdateValueStrategy<S,D> should be parameterized
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[450] context.bindValue(targetObservable, modelObservable, strategy, null); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: Unchecked invocation bindValue(IObservableValue, IObservableValue<capture#10-of ?>, UpdateValueStrategy, null) of the generic method bindValue(IObservableValue, IObservableValue, UpdateValueStrategy<? super T,? extends M>, UpdateValueStrategy<? super M,? extends T>) of type DataBindingContext
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/dialogs/transactions/AbstractTransactionDialog.java:[450] context.bindValue(targetObservable, modelObservable, strategy, null); ^^^^^^^^ Type safety: The expression of type UpdateValueStrategy needs unchecked conversion to conform to UpdateValueStrategy<? super Object,? extends capture#10-of ?>
[ ] [WARNING] /data/portfolio/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/SecuritiesChart.java:[258] private static final String SEPERATOR = "---"; //$NON-NLS-1$ ^^^^^^^^^ The value of the field SecuritiesChart.SEPERATOR is not used 26 problems (0 errors, 25 warnings, 1 info)