Skip to content

Commit

Permalink
removed junk
Browse files Browse the repository at this point in the history
  • Loading branch information
mark committed Mar 9, 2010
1 parent 4871e73 commit 5780199
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/groovy/com/iolog/mongodbtools/MongoDbWrapper.groovy
Expand Up @@ -69,15 +69,6 @@ public class MongoDbWrapper implements InitializingBean
if (mongos.containsKey(name)) return mongos.get(name);
if (shortcuts.containsKey(name)) return shortcuts.get(name);

// first check shortcuts config to see if the propery references
// a DBCollection
if (grailsApplication.config.mongo.shortcuts)
{
grailsApplication.config.mongo.shortcuts.each {
println it
}
}

// if no MongoDB Is registered for the given key, lookup its
// connection details in grailsApplication.config
def dbConfig = grailsApplication.config.mongo.databases?."${name}"
Expand All @@ -102,7 +93,6 @@ public class MongoDbWrapper implements InitializingBean
*/
public void addMapperModel(String typeName, MongoMapperModel mmm)
{
println mmm
typeForClassMap.put( mmm.clazz , typeName )
mappersByTypeName.put(typeName, mmm)
mappersByClass.put(mmm.clazz,mmm)
Expand Down

0 comments on commit 5780199

Please sign in to comment.