From 62671d3865398ebe5a1ac6f5fd04abe87fcf9419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Tue, 14 Jan 2020 23:51:52 +0100 Subject: Fix stanik again --- src/main/java/pl/edu/mimuw/cloudatlas/agent/modules/Stanik.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') 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( -- cgit v1.2.3