m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/agent/modules')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java
index 8f0b13f..5a2f8a9 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java
@@ -229,7 +229,7 @@ public class Stanik extends Module {
System.out.println(query.getSignature());
System.out.println(query);
System.out.println(query.getCode());
- if (!attribute.getName().equals("&cardinality") && ! attribute.getName().equals("&contacts")) {
+ if (query.getSignature() != null && query.getSignature().length != 0) {
try {
if (query.isInstalled()) {
QuerySignerApiImplementation.validateInstallQuery(