Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoopur Gupta2021-01-20 10:38:46 +0000
committerNoopur Gupta2021-01-20 10:38:46 +0000
commitb570375c66d4ebb4f8deb1f280431a363ce6d885 (patch)
treeec8611806c18101475f41e38b322cfca47a61634
parent921c6bef549bf78c71630c1802b52defe03b1e36 (diff)
downloadeclipse.jdt.ui-b570375c66d4ebb4f8deb1f280431a363ce6d885.tar.gz
eclipse.jdt.ui-b570375c66d4ebb4f8deb1f280431a363ce6d885.tar.xz
eclipse.jdt.ui-b570375c66d4ebb4f8deb1f280431a363ce6d885.zip
Bug 548309: Update code to make use of Java 8 featuresI20210120-1400
fix warning from comment #141 Change-Id: Ie61d4f5e6e34bbaa839de48d73ccc54f025bb3d2
-rw-r--r--org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesQuickAssistProcessor.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesQuickAssistProcessor.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesQuickAssistProcessor.java
index 25c740759c..b9465ad25a 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesQuickAssistProcessor.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesQuickAssistProcessor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011, 2016 IBM Corporation and others.
+ * Copyright (c) 2011, 2021 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -364,9 +364,9 @@ public class PropertiesQuickAssistProcessor {
final StringBuffer buf= new StringBuffer();
try {
- for (Change fChange : fChanges) {
- if (fChange instanceof TextChange) {
- TextChange change= (TextChange) fChange;
+ for (Change changeObj : fChanges) {
+ if (changeObj instanceof TextChange) {
+ TextChange change= (TextChange) changeObj;
String filename= getFileName(change);
if (filename != null) {
buf.append("<b>"); //$NON-NLS-1$

Back to the top