[vf] Deprecate VfSimpleCharStream
This commit is contained in:
1 parent
23bc58f23c
commit
06d2225b27
2 files changed
+11
No files matched your search
@@ -57,6 +57,8 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
#### Deprecated API
|
||||
|
||||
##### For removal
|
||||
|
||||
* {% jdoc !!core::Rule#getParserOptions() %}
|
||||
* {% jdoc !!core::lang.Parser#getParserOptions() %}
|
||||
* {% jdoc !!core::lang.AbstractParser %}
|
||||
@@ -84,6 +86,8 @@ This is a {{ site.pmd.release_type }} release.
|
||||
* {% jdoc_package core::lang.dfa %}
|
||||
* and the class {% jdoc plsql::lang.plsql.PLSQLDataFlowHandler %}
|
||||
|
||||
* {% jdoc !!visualforce::lang.vf.VfSimpleCharStream %}
|
||||
|
||||
### External Contributions
|
||||
|
||||
* [#2659](https://github.com/pmd/pmd/pull/2659): \[java] StringToString can not detect the case: getStringMethod().toString() - [Mykhailo Palahuta](https://github.com/Drofff)
|
||||
|
||||
@@ -11,7 +11,14 @@ import net.sourceforge.pmd.lang.ast.SimpleCharStream;
|
||||
/**
|
||||
* @author sergey.gorbaty
|
||||
*
|
||||
* @deprecated Just use {@link SimpleCharStream} directly. The only difference is
|
||||
* the tabSize. With PMD 6.27.0 the tabSize is set to 1 for all languages, which
|
||||
* simplifies calculation of the positions of AST nodes. PMD Designer also
|
||||
* uses a tabSize of 1. If a mapping from PMD's beginColumn or endColumn to
|
||||
* the text editor coordinates is needed, this needs to be done manually.
|
||||
* Before it would only have been correct, if the editor used a tabSize of 4.
|
||||
*/
|
||||
@Deprecated
|
||||
public class VfSimpleCharStream extends SimpleCharStream {
|
||||
|
||||
public VfSimpleCharStream(Reader dstream) {
|
||||
|
||||
Reference in new issue
Block a user