diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e7db2004..ecaead9a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -471,7 +471,7 @@ - Improve exit code for message sending. Exit with 0 status code if the message was sent successfully to at least one recipient, otherwise exit with status code 2 or 4 (for untrusted). -- Download profiles in parallel for improved perfomance +- Download profiles in parallel for improved performance - `--verbose` flag can be specified multiple times for additional log output - Enable more security options for systemd service file - Rename sandbox to staging environment, to match the upstream name. diff --git a/README.md b/README.md index 6b87a7454..a4d6cc53c 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ version installed, you can replace `./gradlew` with `gradle` in the following st It is possible to build a native binary with [GraalVM](https://www.graalvm.org). This is still experimental and will not work in all situations. -1. [Install GraalVM and setup the enviroment](https://www.graalvm.org/docs/getting-started/#install-graalvm) +1. [Install GraalVM and setup the environment](https://www.graalvm.org/docs/getting-started/#install-graalvm) 2. Execute Gradle: ./gradlew nativeCompile diff --git a/lib/src/main/java/org/asamk/signal/manager/internal/SignalWebSocketHealthMonitor.java b/lib/src/main/java/org/asamk/signal/manager/internal/SignalWebSocketHealthMonitor.java index 02bdd49ea..3ebbe4f33 100644 --- a/lib/src/main/java/org/asamk/signal/manager/internal/SignalWebSocketHealthMonitor.java +++ b/lib/src/main/java/org/asamk/signal/manager/internal/SignalWebSocketHealthMonitor.java @@ -147,7 +147,7 @@ public void run() { } } } catch (Throwable e) { - logger.warn("Error occured in KeepAliveSender, ignoring ...", e); + logger.warn("Error occurred in KeepAliveSender, ignoring ...", e); } } } diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/groups/GroupStore.java b/lib/src/main/java/org/asamk/signal/manager/storage/groups/GroupStore.java index 5ebac9c50..e24816bc3 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/groups/GroupStore.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/groups/GroupStore.java @@ -733,7 +733,7 @@ private GroupInfoV1 getGroupInfoV1FromResultSet(ResultSet resultSet) throws SQLE final var expirationTime = resultSet.getInt("expiration_time"); final var blocked = resultSet.getBoolean("blocked"); final var archived = resultSet.getBoolean("archived"); - final var storagRecord = resultSet.getBytes("storage_record"); + final var storageRecord = resultSet.getBytes("storage_record"); return new GroupInfoV1(GroupId.v1(groupId), groupIdV2 == null ? null : GroupId.v2(groupIdV2), name, @@ -742,7 +742,7 @@ private GroupInfoV1 getGroupInfoV1FromResultSet(ResultSet resultSet) throws SQLE expirationTime, blocked, archived, - storagRecord); + storageRecord); } private GroupInfoV2 getGroupV2ByV1Id(final Connection connection, final GroupIdV1 groupId) throws SQLException { diff --git a/src/main/java/org/asamk/signal/commands/TrustCommand.java b/src/main/java/org/asamk/signal/commands/TrustCommand.java index 9b9735d35..a130c03ca 100644 --- a/src/main/java/org/asamk/signal/commands/TrustCommand.java +++ b/src/main/java/org/asamk/signal/commands/TrustCommand.java @@ -35,8 +35,8 @@ public void attachToSubparser(final Subparser subparser) { public void handleCommand( final Namespace ns, final Manager m, final OutputWriter outputWriter ) throws CommandException { - var recipentString = ns.getString("recipient"); - var recipient = CommandUtil.getSingleRecipientIdentifier(recipentString, m.getSelfNumber()); + var recipientString = ns.getString("recipient"); + var recipient = CommandUtil.getSingleRecipientIdentifier(recipientString, m.getSelfNumber()); if (Boolean.TRUE.equals(ns.getBoolean("trust-all-known-keys"))) { try { final var res = m.trustIdentityAllKeys(recipient);