Skip to content

Commit

Permalink
Cleanup of classes no longer needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Mar 9, 2013
1 parent d0d6e01 commit 714c0dc
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ public List<Resource<?>> generateFromEntity(String targetDir, Resource<?> templa

List<Map<String, String>> inspectionResults = introspectorClient.inspect(entity);
Map<String, Object> root = new HashMap<String, Object>();
// TODO: Provide a 'utility' class for allowing transliteration across language naming schemes
// We need this to use contextual naming schemes instead of performing toLowerCase etc. in FTLs.
root.put("entityName", entity.getName());
root.put("properties", inspectionResults);
MetadataFacet metadata = this.project.getFacet(MetadataFacet.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

import javax.inject.Inject;

import org.jboss.forge.parser.java.JavaClass;
Expand Down Expand Up @@ -39,13 +36,7 @@ public IntrospectorClient(Project project, ShellPrompt prompt) {
this.prompt = prompt;
}

@Inject
RelatedTypeHolder relatedClassHolder;

public List<Map<String, String>> inspect(JavaClass entity) {
// TODO: Provide a 'utility' class for allowing transliteration across language naming schemes
// We need this to use contextual naming schemes instead of performing toLowerCase etc. in FTLs.

Element inspectionResult = inspectEntity(entity);
Element inspectedEntity = XmlUtils.getFirstChildElement(inspectionResult);
System.out.println(XmlUtils.nodeToString(inspectedEntity, true));
Expand Down

This file was deleted.

41 changes: 0 additions & 41 deletions src/main/java/org/jboss/forge/scaffold/html5/RelatedType.java

This file was deleted.

This file was deleted.

0 comments on commit 714c0dc

Please sign in to comment.