Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
  • Loading branch information
stokito committed Jun 14, 2024
1 parent 7c01070 commit 12f696c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion kse/src/main/java/org/kse/gui/CurrentDirectory.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private static void initialiseWorkingDirToBeHomeDir() {
}

/**
* Update CurrentSirectory to be the supplied directory.
* Update CurrentDirectory to be the supplied directory.
*
* @param directory Used to set current directory
*/
Expand Down
4 changes: 2 additions & 2 deletions kse/src/main/java/org/kse/gui/dialogs/DialogHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ public static void populateSigAlgs(KeyPairType keyPairType, PrivateKey privateKe
*/
public static void populatePkcs10Challenge(Attribute[] attributes, JTextField textField) {

ASN1ObjectIdentifier pkcs9AtChallengepassword = PKCSObjectIdentifiers.pkcs_9_at_challengePassword;
populateTextField(attributes, textField, pkcs9AtChallengepassword);
ASN1ObjectIdentifier pkcs9AtChallengePassword = PKCSObjectIdentifiers.pkcs_9_at_challengePassword;
populateTextField(attributes, textField, pkcs9AtChallengePassword);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ private void populateExtensionTypes() {
// Population is the supported set minus those already added
ArrayList<X509ExtensionType> availableExtensions = new ArrayList<>();

for (X509ExtensionType extentionType : SUPPORTED_EXTENSIONS) {
if (extensions.getExtensionValue(extentionType.oid()) == null) {
availableExtensions.add(extentionType);
for (X509ExtensionType extensionType : SUPPORTED_EXTENSIONS) {
if (extensions.getExtensionValue(extensionType.oid()) == null) {
availableExtensions.add(extensionType);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ public static void saveTemplatePressed(X509ExtensionSet extensionsToSave, JDialo
}

/**
* Get chosen certficate extensions.
* Get chosen certificate extensions.
*
* @return Certificate extensions or null if dialog cancelled.
*/
Expand Down

0 comments on commit 12f696c

Please sign in to comment.