• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

devonfw / IDEasy / 14172089567

31 Mar 2025 12:57PM UTC coverage: 67.764% (+0.3%) from 67.422%
14172089567

Pull #1183

github

web-flow
Merge e709d33f3 into a43982a80
Pull Request #1183: #103: create java resemblance for security.json

3053 of 4934 branches covered (61.88%)

Branch coverage included in aggregate %.

7880 of 11200 relevant lines covered (70.36%)

3.07 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
cli/src/main/java/com/devonfw/tools/ide/url/model/folder/UrlEdition.java
1
package com.devonfw.tools.ide.url.model.folder;
2

3
import com.devonfw.tools.ide.url.model.file.UrlSecurityFile;
4

5
/**
6
 * An {@link UrlFolder} representing the actual edition of a {@link UrlTool}. The default edition may have the same {@link #getName() name} as the
7
 * {@link UrlTool} itself. However, tools like "intellij" may have editions like "community" or "ultimate".
8
 */
9
public class UrlEdition extends AbstractUrlToolOrEdition<UrlTool, UrlVersion> {
10

11
  private UrlSecurityFile securityFile;
12

13
  /**
14
   * The constructor.
15
   *
16
   * @param parent the {@link #getParent() parent folder}.
17
   * @param name the {@link #getName() filename}.
18
   */
19
  public UrlEdition(UrlTool parent, String name) {
20

21
    super(parent, name);
4✔
22
  }
1✔
23

24
  /**
25
   * This method is used to add new children to the children collection of an instance from this class.
26
   *
27
   * @param name The name of the {@link UrlVersion} object that should be created.
28
   */
29
  @Override
30
  protected UrlVersion newChild(String name) {
31

32
    return new UrlVersion(this, name);
6✔
33
  }
34

35
  @Override
36
  public void save() {
37

38
    super.save();
×
39
    if (this.securityFile != null) {
×
40
      this.securityFile.save();
×
41
    }
42
  }
×
43

44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc