m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-14 23:51:52 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2020-01-14 23:51:52 +0100
commit62671d3865398ebe5a1ac6f5fd04abe87fcf9419 (patch)
treee3807224a471a22ab148c45351d40c4ce94c76d6
parent581e6c3aaf418665a9c1254537821f341442b724 (diff)
Fix stanik again
-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(