Skip to content

Commit

Permalink
remove unused calls
Browse files Browse the repository at this point in the history
  • Loading branch information
darkv committed Jan 27, 2014
1 parent 337aca5 commit 238db23
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ public static void refreshObject(EOEnterpriseObject eo) {
public static void clearSnapshotForRelationshipNamed(EOEnterpriseObject eo, String relationshipName) {
EOEditingContext ec = eo.editingContext();
EOModel model = EOUtilities.entityForObject(ec, eo).model();
EOGlobalID gid = ec.globalIDForObject(eo);
EODatabaseContext dbc = EODatabaseContext.registeredDatabaseContextForModel(model, ec);
EODatabase database = dbc.database();
ERXEOControlUtilities.clearSnapshotForRelationshipNamedInDatabase(eo, relationshipName, database);
Expand Down Expand Up @@ -886,8 +885,7 @@ public static Object _aggregateFunctionWithQualifierAndAggregateAttribute(EOEdit

private static Object __aggregateFunctionWithQualifierAndAggregateAttribute(EODatabaseContext databaseContext, EOEditingContext ec, String entityName, EOQualifier qualifier, EOAttribute aggregateAttribute) {
EOEntity entity = ERXEOAccessUtilities.entityNamed(ec, entityName);
EOModel model = entity.model();


EOSQLExpressionFactory sqlFactory = databaseContext.adaptorContext().adaptor().expressionFactory();
EOQualifier schemaBasedQualifier = entity.schemaBasedQualifier(qualifier);
EOFetchSpecification fetchSpec = new EOFetchSpecification(entity.name(), schemaBasedQualifier, null);
Expand Down

0 comments on commit 238db23

Please sign in to comment.