Removed deprecation warnings for set*Charset(...) usage
diff --git a/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java b/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
index 67bff2d..7fc4697 100644
--- a/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
+++ b/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
@@ -283,7 +283,7 @@
try {
// TODO (frederic) remove when bug 67606 will be fixed (bug 67823)
// fix bug 66898
- if (sourceEncoding != null) destFile.setCharset(sourceEncoding);
+ if (sourceEncoding != null) destFile.setCharset(sourceEncoding, this.progressMonitor);
// end todo
encoding = destFile.getCharset();
}
@@ -334,7 +334,7 @@
try {
// TODO (frederic) remove when bug 67606 will be fixed (bug 67823)
// fix bug 66898
- if (sourceEncoding != null) destFile.setCharset(sourceEncoding);
+ if (sourceEncoding != null) destFile.setCharset(sourceEncoding, this.progressMonitor);
// end todo
encoding = destFile.getCharset();
}