Quickfix that adds missing parameters in BDD step definitions inserts types in docstring

Finally removed method StructuredDocString#createParameterType.
This commit is contained in:
Mikhail Golubev
2015-09-02 20:38:31 +03:00
parent 3808c314c8
commit d234cafc38
4 changed files with 0 additions and 26 deletions
@@ -25,14 +25,6 @@ import java.util.List;
* @author vlan
*/
public interface StructuredDocString {
/**
* Creates parameter type documentation specific for certain doct type
* @param name param name
* @param type param type
* @return text to add to docsting
*/
@NotNull
String createParameterType(@NotNull String name, @NotNull String type);
String getSummary();
String getDescription(); // for formatter
@@ -66,12 +66,6 @@ public class PlainDocString extends DocStringLineParser implements StructuredDoc
return false;
}
@NotNull
@Override
public String createParameterType(@NotNull String name, @NotNull String type) {
return "";
}
@NotNull
@Override
public List<String> getParameters() {
@@ -263,12 +263,6 @@ public abstract class SectionBasedDocString extends DocStringLineParser implemen
return Collections.unmodifiableList(mySections);
}
@NotNull
@Override
public String createParameterType(@NotNull String name, @NotNull String type) {
return null;
}
@Override
public String getSummary() {
return mySummary != null ? mySummary.concatTrimmedLines("\n") : "";
@@ -74,12 +74,6 @@ public abstract class TagBasedDocString extends DocStringLineParser implements S
public abstract List<String> getAdditionalTags();
@Override
@NotNull
public String createParameterType(@NotNull final String name, @NotNull final String type) {
return myTagPrefix + TYPE + String.format(" %s %s", name, type);
}
@Override
public String getDescription() {
return myDescription;