Commit 091fc90e authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Deprecate setFailUnrecognizedDescriptorLines().

Implements #22228.
parent d242a2aa
......@@ -7,6 +7,10 @@
- Fix a bug where DescriptorIndexCollector would not delete
extraneous local files if remote paths start with /.
- Add previously missing method to obtain the digest of a vote.
- Deprecated setFailUnrecognizedDescriptorLines() in
DescriptorParser and DescriptorReader and refer to
getUnrecognizedLines() in Descriptor if applications really need
to fail descriptors containing unrecognized lines.
* Minor changes
- Accept extra arguments in statistics-related extra-info
......
......@@ -30,6 +30,10 @@ public interface DescriptorParser {
* versions. But some applications may want to handle unrecognized
* descriptor lines explicitly.</p>
*
* @deprecated Removed in an attempt to simplify the interface. Applications
* that must fail descriptors with unrecognized lines can instead check
* whether {@link Descriptor#getUnrecognizedLines()} returns any lines.
*
* @since 1.0.0
*/
public void setFailUnrecognizedDescriptorLines(
......
......@@ -142,6 +142,10 @@ public interface DescriptorReader {
* versions. But some applications may want to handle unrecognized
* descriptor lines explicitly.</p>
*
* @deprecated Removed in an attempt to simplify the interface. Applications
* that must fail descriptors with unrecognized lines can instead check
* whether {@link Descriptor#getUnrecognizedLines()} returns any lines.
*
* @since 1.0.0
*/
public void setFailUnrecognizedDescriptorLines();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment