diff --git a/src/pEp.yml2 b/src/pEp.yml2 index 63eff8f..c5d07d1 100644 --- a/src/pEp.yml2 +++ b/src/pEp.yml2 @@ -100,14 +100,11 @@ namespace pEp { returns Color color ); - method blacklist_is_listed( - in string fpr, - returns bool listed - ); - method blacklist_retrive( - returns stringlist blacklist - ); +// method blacklist_retrive( +// creates stringlist blacklist +// ); + basic string trustwords(identity ident); basic identity myself(identity ident); basic identity updateIdentity(identity ident); @@ -117,7 +114,8 @@ namespace pEp { basic void importKey(string key); basic void blacklist_add(string fpr); basic void blacklist_delete(string fpr); - basic void config_passive_mode(bool enable) + basic void config_passive_mode(bool enable); + basic bool blacklist_is_listed(string fpr); }; diff --git a/src/types_java.ysl2 b/src/types_java.ysl2 index 8a531c6..4477bc0 100644 --- a/src/types_java.ysl2 +++ b/src/types_java.ysl2 @@ -13,7 +13,7 @@ function "toJava" { when "$type='stringpairlist'" > ArrayList> when "$type='message'" > Message when "$type='void'" > void - when "$type='bool'" > boolean + when "$type='bool'" > Boolean otherwise call "CamelCase" with "text", "$type"; } @@ -34,7 +34,7 @@ function "toJavaDeclare" { when "$type='stringpairlist'" | # cannot declare "stringpairlist" when "$type='message'" > Message when "$type='Color'" > Color - when "$type='bool'" > boolean + when "$type='bool'" > Boolean otherwise error | # cannot declare "«$type»" }