@@ -49,10 +49,6 @@ public class ApiSettingsComponent {
4949 + "<br>Specifies if comparing the resolved package versions with the versions defined in the manifest.</html>" ;
5050 private final static String snykTokenLabel = "<html>Red Hat Dependency Analytics: <b>Exhort Snyk Token</b>"
5151 + "<br>Red Hat Dependency Analytics sever authentication token for Snyk.</html>" ;
52- private final static String ossIndexUserLabel = "<html>Red Hat Dependency Analytics: <b>Exhort Oss Index User</b>"
53- + "<br>Red Hat Dependency Analytics sever User for Oss Index.</html>" ;
54- private final static String ossIndexTokenLabel = "<html>Red Hat Dependency Analytics: <b>Exhort Oss Index Token</b>"
55- + "<br>Red Hat Dependency Analytics sever authentication token for Oss Index.</html>" ;
5652
5753 private final JPanel mainPanel ;
5854
@@ -70,9 +66,6 @@ public class ApiSettingsComponent {
7066 private final JCheckBox pythonMatchManifestVersionsCheck ;
7167 private final JBTextField snykTokenText ;
7268
73- private final JBTextField ossIndexUserText ;
74- private final JBTextField ossIndexTokenText ;
75-
7669 public ApiSettingsComponent () {
7770 mvnPathText = new TextFieldWithBrowseButton ();
7871 mvnPathText .addBrowseFolderListener (
@@ -148,8 +141,6 @@ public ApiSettingsComponent() {
148141 pythonMatchManifestVersionsCheck = new JCheckBox ("Strictly match package version" );
149142
150143 snykTokenText = new JBTextField ();
151- ossIndexUserText = new JBTextField ();
152- ossIndexTokenText = new JBTextField ();
153144
154145 mainPanel = FormBuilder .createFormBuilder ()
155146 .addLabeledComponent (new JBLabel (mvnPathLabel ), mvnPathText , 1 , true )
@@ -182,10 +173,6 @@ public ApiSettingsComponent() {
182173 .addVerticalGap (10 )
183174 .addLabeledComponent (new JBLabel (snykTokenLabel ), snykTokenText , 1 , true )
184175 .addComponentFillVertically (new JPanel (), 0 )
185- .addVerticalGap (10 )
186- .addLabeledComponent (new JBLabel (ossIndexUserLabel ), ossIndexUserText , 1 , true )
187- .addVerticalGap (10 )
188- .addLabeledComponent (new JBLabel (ossIndexTokenLabel ), ossIndexTokenText , 1 , true )
189176 .getPanel ();
190177 }
191178
@@ -305,18 +292,7 @@ public String getSnykTokenText() {
305292 return snykTokenText .getText ();
306293 }
307294
308- public String getOssIndexTokenText () {
309- return ossIndexTokenText .getText ();
310- }
311- public String getOssIndexUserText () {
312- return ossIndexUserText .getText ();
313- }
314-
315295 public void setSnykTokenText (@ NotNull String text ) {
316296 snykTokenText .setText (text );
317297 }
318- public void setOssIndexTokenText (@ NotNull String text ) {
319- ossIndexTokenText .setText (text );
320- }
321-
322298}
0 commit comments