package cn.yiiguxing.plugin.translate.util;

import com.intellij.credentialStore.CredentialAttributes;
import org.jetbrains.annotations.NotNull;

/**
 * CredentialAttributesFactory
 * <p>
 * https://github.com/YiiGuxing/TranslationPlugin/issues/319
 */
public final class CredentialAttributesFactory {

    static CredentialAttributes create(@NotNull String serviceName, String userName) {
        return new CredentialAttributes(serviceName, userName);
    }

}

@@ -145,16 +145,63 @@
 %0A%0A/**%0A *
+ Factory class for creating instances of %7B@link
  Credent
@@ -213,23 +213,18 @@
 tributes
-Factory
+%7D.
 %0A * %3Cp%3E%0A
@@ -226,16 +226,29 @@
  %3Cp%3E%0A * 
+Fix %3Ca href=%22
 https://
@@ -296,16 +296,26 @@
 sues/319
+%22%3E#319%3C/a%3E
 %0A */%0Apub

Update doc of class `CredentialAttributesFactory`