Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
briar
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
680
Issues
680
List
Boards
Labels
Service Desk
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
briar
briar
Commits
ebae1037
Verified
Commit
ebae1037
authored
Apr 26, 2019
by
akwizgran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary null check.
parent
0c99ef0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
bramble-core/src/main/java/org/briarproject/bramble/identity/IdentityManagerImpl.java
...rg/briarproject/bramble/identity/IdentityManagerImpl.java
+0
-1
No files found.
bramble-core/src/main/java/org/briarproject/bramble/identity/IdentityManagerImpl.java
View file @
ebae1037
...
...
@@ -103,7 +103,6 @@ class IdentityManagerImpl implements IdentityManager, OpenDatabaseHook {
db
.
addAccount
(
txn
,
cached
);
LOG
.
info
(
"Account stored"
);
}
else
if
(
shouldStoreKeys
)
{
requireNonNull
(
cached
);
byte
[]
publicKey
=
requireNonNull
(
cached
.
getHandshakePublicKey
());
byte
[]
privateKey
=
requireNonNull
(
cached
.
getHandshakePrivateKey
());
db
.
setHandshakeKeyPair
(
txn
,
cached
.
getId
(),
publicKey
,
privateKey
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment