]> nmode's Git Repositories - signal-cli/commitdiff
Fix typos (#1459)
authorViktor Szépe <viktor@szepe.net>
Mon, 19 Feb 2024 07:20:24 +0000 (08:20 +0100)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 07:20:24 +0000 (08:20 +0100)
CHANGELOG.md
README.md
lib/src/main/java/org/asamk/signal/manager/internal/SignalWebSocketHealthMonitor.java
lib/src/main/java/org/asamk/signal/manager/storage/groups/GroupStore.java
src/main/java/org/asamk/signal/commands/TrustCommand.java

index 3e7db20045c2d9254f8375d48950ab4ed5c6cafd..ecaead9a63d833b340a39b6f40f2c2e7b19782a8 100644 (file)
 - 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.
index 6b87a745482796a01a72078138a418633b80c305..a4d6cc53c0639f3381f4fe1c110bba699166755e 100644 (file)
--- 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
index 02bdd49ea52f27ed9fb0b5a496b4cb92c6393186..3ebbe4f3318774880361b2b81d421424cedca3b2 100644 (file)
@@ -147,7 +147,7 @@ final class SignalWebSocketHealthMonitor implements HealthMonitor {
                         }
                     }
                 } catch (Throwable e) {
-                    logger.warn("Error occured in KeepAliveSender, ignoring ...", e);
+                    logger.warn("Error occurred in KeepAliveSender, ignoring ...", e);
                 }
             }
         }
index 5ebac9c50e7c3b0eca15177d92b2718319c6d4ee..e24816bc38c0d0e6df00efc0456eb6a055126c68 100644 (file)
@@ -733,7 +733,7 @@ public class GroupStore {
         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 @@ public class GroupStore {
                 expirationTime,
                 blocked,
                 archived,
-                storagRecord);
+                storageRecord);
     }
 
     private GroupInfoV2 getGroupV2ByV1Id(final Connection connection, final GroupIdV1 groupId) throws SQLException {
index 9b9735d357589400762c4a578d3f14dde47f282d..a130c03cae98fc452b365f483e63a0b49df4d2d8 100644 (file)
@@ -35,8 +35,8 @@ public class TrustCommand implements JsonRpcLocalCommand {
     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);