Skip to content

Commit 748b5a8

Browse files
committed
lowercase for partials and html templates.
1 parent 3413901 commit 748b5a8

36 files changed

+31
-31
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

java_generate/ReferenceGenerator/src/writers/BaseWriter.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@ protected static String getExamples(Document doc) throws IOException{
344344
e.printStackTrace();
345345
}
346346

347-
String exampleInner = templateWriter.writeLoop("/Example.partial.html", exampleList);
347+
String exampleInner = templateWriter.writeLoop("/example.partial.html", exampleList);
348348
HashMap<String, String> map = new HashMap<String, String>();
349349
map.put("examples", exampleInner);
350-
return templateWriter.writePartial("Examples.partial.html", map);
350+
return templateWriter.writePartial("examples.partial.html", map);
351351
}
352352

353353
protected static String getXMLDescription(ProgramElementDoc doc) throws IOException {
@@ -430,7 +430,7 @@ protected static ArrayList<HashMap<String, String>> getSyntax(MethodDoc doc, Str
430430
paramMap.put("parameter", p.name());
431431
parameters.add(paramMap);
432432
}
433-
String params = templateWriter.writeLoop("Method.Parameter.partial.html", parameters, ", ");
433+
String params = templateWriter.writeLoop("method.parameter.partial.html", parameters, ", ");
434434

435435
map.put("parameters", params);
436436
if( ! ret.contains(map) )
@@ -507,7 +507,7 @@ protected static String getParameters(MethodDoc doc) throws IOException{
507507

508508

509509
TemplateWriter templateWriter = new TemplateWriter();
510-
return templateWriter.writeLoop("Parameter.partial.html", ret);
510+
return templateWriter.writeLoop("parameter.partial.html", ret);
511511
}
512512

513513
protected static String getParameters(ClassDoc doc) throws IOException{
@@ -521,7 +521,7 @@ protected static String getParameters(ClassDoc doc) throws IOException{
521521
removeDuplicateParameters(ret);
522522

523523
TemplateWriter templateWriter = new TemplateWriter();
524-
return templateWriter.writeLoop("Parameter.partial.html", ret);
524+
return templateWriter.writeLoop("parameter.partial.html", ret);
525525
}
526526

527527
protected static void removeDuplicateParameters(ArrayList<HashMap<String, String>> ret){
@@ -645,7 +645,7 @@ protected static String getRelated(ProgramElementDoc doc) throws IOException
645645
vars.add(map);
646646
}
647647
}
648-
return templateWriter.writeLoop("Related.partial.html", vars);
648+
return templateWriter.writeLoop("related.partial.html", vars);
649649
}
650650

651651
protected static String getEvents(ProgramElementDoc doc){

0 commit comments

Comments
 (0)