Skip to content

Commit

Permalink
fix missing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
christophsturm committed Aug 13, 2019
1 parent 690d744 commit b0ef436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package bisq.core.notifications;

import javax.inject.Inject;
import javax.inject.Singleton;

import com.google.common.base.Charsets;

Expand All @@ -33,6 +34,7 @@
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Singleton
public class MobileMessageEncryption {
private SecretKeySpec keySpec;
private Cipher cipher;
Expand Down
2 changes: 2 additions & 0 deletions desktop/src/test/java/bisq/desktop/GuiceSetupTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import bisq.core.locale.CurrencyUtil;
import bisq.core.locale.Res;
import bisq.core.network.p2p.seed.DefaultSeedNodeRepository;
import bisq.core.notifications.MobileMessageEncryption;
import bisq.core.notifications.MobileModel;
import bisq.core.notifications.MobileNotificationService;
import bisq.core.notifications.MobileNotificationValidator;
Expand Down Expand Up @@ -118,6 +119,7 @@ public void testGuiceSetup() {
assertSingleton(PersistenceProtoResolver.class);
assertSingleton(CorePersistenceProtoResolver.class);
assertTrue(injector.getInstance(PersistenceProtoResolver.class) instanceof CorePersistenceProtoResolver);
assertSingleton(MobileMessageEncryption.class);
assertSingleton(MobileNotificationService.class);
assertSingleton(MobileNotificationValidator.class);
assertSingleton(MobileModel.class);
Expand Down

0 comments on commit b0ef436

Please sign in to comment.