Skip to content

Commit

Permalink
TEIID-2207 improving check
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Aug 6, 2013
1 parent c3bac8f commit 879af24
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -266,7 +266,7 @@ public List<RequestMetadata> getRequestsUsingVDB(String vdbName, int vdbVersion)
List<RequestMetadata> requests = new ArrayList<RequestMetadata>();
Collection<SessionMetadata> sessions = this.sessionService.getActiveSessions();
for (SessionMetadata session:sessions) {
if (session.getVDBName().equals(vdbName) && session.getVDBVersion() == vdbVersion) {
if (vdbName.equals(session.getVDBName()) && session.getVDBVersion() == vdbVersion) {
requests.addAll(getDQP().getRequestsForSession(session.getSessionId()));
}
}
Expand Down

0 comments on commit 879af24

Please sign in to comment.