mirror of https://github.com/sbt/sbt.git
Merge pull request #7241 from ckipp01/mispell
This commit is contained in:
commit
6dbb6fef3a
|
|
@ -39,13 +39,19 @@ public interface Problem {
|
||||||
return Optional.empty();
|
return Optional.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @deprecated use {@link #diagnosticRelatedInformation()} instead. */
|
||||||
|
@Deprecated
|
||||||
|
default List<DiagnosticRelatedInformation> diagnosticRelatedInforamation() {
|
||||||
|
return diagnosticRelatedInformation();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The possible releated information for the diagnostic being reported.
|
* The possible releated information for the diagnostic being reported.
|
||||||
*
|
*
|
||||||
* <p>NOTE: To avoid breaking compatibility we provide a default to account for older Scala
|
* <p>NOTE: To avoid breaking compatibility we provide a default to account for older Scala
|
||||||
* versions that do not have the concept of "related information".
|
* versions that do not have the concept of "related information".
|
||||||
*/
|
*/
|
||||||
default List<DiagnosticRelatedInformation> diagnosticRelatedInforamation() {
|
default List<DiagnosticRelatedInformation> diagnosticRelatedInformation() {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue