Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create codeql.yml #526

Closed
wants to merge 10,000 commits into from
Closed

Create codeql.yml #526

wants to merge 10,000 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    933e286 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    fdd0dee View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. QuickAssistProcessor: prevent AIOOBE in getAddMethodDeclaration() #740

    was ArrayIndexOutOfBoundsException
    
    eclipse-jdt/eclipse.jdt.ui#740
    EcljpseB0T authored and jukzi committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    c4f0749 View commit details
    Browse the repository at this point in the history
  2. Add build artifacts to .gitignore

    Signed-off-by: Rob Stryker <[email protected]>
    
    Fixes as per review
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    1c8cfad View commit details
    Browse the repository at this point in the history
  3. Remove ITextSelection references from some refactors

    - Also fix test cases
    - Also Bump jdt.ui.tests.refactoring
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    17abd27 View commit details
    Browse the repository at this point in the history
  4. Always use brackets in blocks of code by default #667 (#676)

    Change the default settings of the built-in clean-up profile and in the
    "Additional actions" of the "Save Actions"; set them to always use
    brackets for blocks of code (even for one-liners).
    
    These settings are just the defaults, they can be overwritten.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#667
    fedejeanne authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    da38d0e View commit details
    Browse the repository at this point in the history
  5. Don't offer to add type parameters to var type variable (#766)

    * Don't offer to add type parameters to var type variable
    
    - add var checks to Java50FixCore.createRawTypeReferenceOperation()
    - make some static methods public in Java50FixCore regarding
      raw type reference checking
    - add var checking to LocalCorrectionsSubProcessor
    - add new LocalCorrectionsQuickFixTest10
    - fixes #765
    jjohnstn authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    6422faa View commit details
    Browse the repository at this point in the history
  6. Move PropertiesFileEscapes into core

    - Move to common instead of unnecessary new source folder
    - Cleanup unused Messages constant
    - Also bump jdt.core.manipulation
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    bce697b View commit details
    Browse the repository at this point in the history
  7. Preserve comment on variable cast when doing pattern instanceof clean…

    …up (#752)
    
    - retain the comment for the declared variable that is cast to
      the type in the instanceof expression that will be converted to
      instanceof pattern
    - modify existing test in CleanUpTest16
    - fixes #729
    jjohnstn authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    93e5067 View commit details
    Browse the repository at this point in the history
  8. Add unicode support to Javadoc hover (#744)

    - fixes #743
    - add new test to JavadocHoverTests
    jjohnstn authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    005d6d6 View commit details
    Browse the repository at this point in the history
  9. Ignore spelling in java string literals should apply to text blocks t…

    …oo (#771)
    
    - add text block partitions to ignore logic in JavaSpellingEngine
    - replaces #707
    - fixes #770
    jjohnstn authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    93705a4 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Extracting RefactorSaveHelper constants into core (#714)

    * Extracting RefactorSaveHelper constants into core
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    b027bd0 View commit details
    Browse the repository at this point in the history
  2. fix StatusLine progress #773

    Reusing a IProgressManager requires to finally call
    progressMonitor.done() before using it again.
    
    see
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=485748
    and
    eclipse-jdt/eclipse.jdt.ui#773
    EcljpseB0T authored and jukzi committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    921a395 View commit details
    Browse the repository at this point in the history
  3. JavaModelUtil: fix NPE in isEditable() #738

    getResourceAttributes() can return null
    eclipse-jdt/eclipse.jdt.ui#738
    EcljpseB0T authored and jukzi committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e37cf43 View commit details
    Browse the repository at this point in the history
  4. Add logError(String) to Manipulations plugin

    Signed-off-by: Rob Stryker <[email protected]>
    
    Update copyright header
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    3eb1927 View commit details
    Browse the repository at this point in the history
  5. Move CollectionsUtil to jdt.core.manipulations and add a utility clas…

    …s for jface.util.Util.replaceAll to break UI dep (#712)
    
    More cleanup
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    8587c26 View commit details
    Browse the repository at this point in the history
  6. Enable quick assist for deprecated calls to also be a quick fix (#723)

    * Enable quick assist for deprecated calls to also be a quick fix
    
    - move some code from QuickAssistProcessor.getDeprecatedProposal() into
      QuickAssistProcessorUtil.isDeprecatedMethodCallWithReplacement()
    - change QuickAssistProcessor.getDeprecatedProposal() to use new
      method and to also fail if there is a deprecated method call problem
      for the selection in which case leave the proposal as a quick fix
    - add new logic into QuickFixProcessor to handle
      IProblem.UsingDeprecatedMethod using similar logic to quick assist
    - add new tests to QuickFixTest1d8
    - fixes #721
    jjohnstn authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    a72704d View commit details
    Browse the repository at this point in the history
  7. Migrate core extension classes to use the Core version of LinkedPropo…

    …salModel and associated classes (#716)
    
    * Migrate core extension classes to use the Core version of LinkedProposalModel and associated classes
    * CompilationUnitRewriteOperation and subclasses should use LinkedProposalModelCore
    * Minor version bump for jdt.ui
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    daabe72 View commit details
    Browse the repository at this point in the history
  8. Propose import quick fix for missing annotation value (#718)

    * Propose import quick fix for missing annotation value
    
    - modify QuickFixProcessor to recognize an UndefinedVariable error
      for an annotation value and propose import if possible
    - add new tests to QuickFixTest1d8
    - fixes #717
    jjohnstn authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    9a176d8 View commit details
    Browse the repository at this point in the history
  9. Move JavaModelProvider, LogicalPackage, and JavaResourceMapping down …

    …to jdt.core.manipulations (#776)
    
    Refactor
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    cf4ed34 View commit details
    Browse the repository at this point in the history
  10. Don't make a field final if used in lambda exp used to initialize fie…

    …ld (#778)
    
    * Don't make a field final if used in lambda exp used to initialize field
    
    - if an uninitialized field is used inside a lambda expression to
      initialize another field, it cannot be made final
    - add this logic to VariableDeclarationFixCore
    - add new test to CleanUpTest1d8
    - fixes #769
    jjohnstn authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    2013678 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Push down logic to ReorgUtilsCore, unify a central location for resou…

    …rce and project utility functions
    
    Signed-off-by: Rob Stryker <[email protected]>
    
    wrong since tag
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    8601033 View commit details
    Browse the repository at this point in the history
  2. Update headers and document origins

    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    f45f0dc View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. JavaElementImplementationHyperlink: fix progress during newTypeHierarchy

    newTypeHierarchy is a JavaModelOperation which uses SubMonitor.convert
    since https://bugs.eclipse.org/bugs/show_bug.cgi?id=477790
    That is not allowed when beginTask is already called.
    See SubMonitor.convert javadoc.
    
    eclipse-platform/eclipse.platform.ui#1107
    EcljpseB0T authored and iloveeclipse committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    58c8357 View commit details
    Browse the repository at this point in the history
  2. Move functionality from RefactoringAvailabilityTester to RefactoringA…

    …vailabilityTesterCore, and fix callers where necessary (#777)
    
    Refactor RefactoringAvailbilityTester methods to RefactoringAvailabilityTesterCore
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    340227f View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    9797ffd View commit details
    Browse the repository at this point in the history
  2. Migrate usage to logic in core classes when applicable

        - fixes #695
    Rob Stryker authored and rgrunber committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    3569aa5 View commit details
    Browse the repository at this point in the history
  3. Fix NPE for StringConcatToTextBlockFixCore (#787)

    - make sure before creating a change operation that any
      InfixExpression that has NLS tags has either a Statement or
      FieldDeclaration ancestor in StringConcatToTextBlockFixCore
    - add new tests to CleanUpTest15
    - fixes #779
    jjohnstn authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    68d42c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Improve hover for Java hex, octal, and binary constants (#742)

    * Improve hover for Java hex, octal, and binary constants
    
    Show hovers also in the following cases:
      int bin1 0B11111111; // uppercase "0B"
      int bin2 0b1111_1111; // binary with an underscore
      int oct = 0_377;  // octal with an underscore
      int hex = 0xff_ff_ff; // hex with underscores
      long l = 0X45L; // long with suffix and upper-case X
      double x = 0Xff00p0d; // double starting with 0X
    
    Do not show hovers for doubles starting with "0", e.g.:
      double d= 01e6D;
    
    Hover for Java hex, octal, and binary constants has been introduced by: eclipse-jdt/eclipse.jdt.ui#640
    
    Co-authored-by: Jeff Johnston <[email protected]>
    howlger and jjohnstn authored Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f9c6419 View commit details
    Browse the repository at this point in the history
  2. Fix build test errors due to AST API >= 20 (#789)

    * Fix build test errors due to AST API >= 20
    
    - new AST for 20 and up changes PatternInstanceofExpression and
      this needs to be accommodated in some refactoring logic
    - change SuperTypeConstraintsCreator and SurroundWithTryCatchAnalyzer
      and PatternMatchingForInstanceofFixCore
      to handle updated version of PatternInstanceofExpression
    - for #745
    jjohnstn authored Sep 16, 2023
    Configuration menu
    Copy the full SHA
    67608e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2023

  1. NullAnnotationsRewriteOperations: OutOfBoundsException: Index 1 out o…

    …f bounds for length 1 (#724)
    
    fixes #1294
    
    + Also fix it for TYPE_USE annotations
    + Test nesting in lambda instead of anonymous
    + additional fix for similar problem caused by varargs signature
    + require latest o.e.jdt.core.compiler.batch
    stephan-herrmann authored Sep 17, 2023
    Configuration menu
    Copy the full SHA
    1ba58ef View commit details
    Browse the repository at this point in the history
  2. Fix build test errors due to AST API >= 20 (#789)

    * Fix build test errors due to AST API >= 20
    
    - new AST for 20 and up changes PatternInstanceofExpression and
      this needs to be accommodated in some refactoring logic
    - change SuperTypeConstraintsCreator and SurroundWithTryCatchAnalyzer
      and PatternMatchingForInstanceofFixCore
      to handle updated version of PatternInstanceofExpression
    - for #745
    jjohnstn authored and noopur2507 committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    49193f1 View commit details
    Browse the repository at this point in the history
  3. Tweak logic

    jjohnstn authored and noopur2507 committed Sep 17, 2023
    Configuration menu
    Copy the full SHA
    9db34a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b38b97 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Tweak SuperTypeConstraintsCreator logic (#800)

    - modify endVisit(Type) to support all AST api levels 21 and below
    jjohnstn authored Sep 18, 2023
    Configuration menu
    Copy the full SHA
    6da4e6a View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. performance: avoid O(n^2) in ContentProviders

    findPackageFragmentRoot() searches through all PackageFragment Roots for
    every IContainer.member. This can be slow due to involved file access.
    see eclipse-jdt/eclipse.jdt.core#303
    
    Instead call getAllPackageFragmentRoots() only once, index the result
    and use O(1) hash access.
    EcljpseB0T authored and jukzi committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    aadde02 View commit details
    Browse the repository at this point in the history
  2. performance: use JavaElementComparator in CleanUpRefactoringWizard

    To avoid sorting using toString() which uses
    org.eclipse.jdt.internal.core.JavaElement.toStringChildren(int,
    StringBuffer, Object) on every project ...
    EcljpseB0T authored and jukzi committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    3f67966 View commit details
    Browse the repository at this point in the history
  3. Do further improvements to Java constant hover (#802)

    * Do further improvements to Java constant hover
    
    - add logic to do unsigned parsing and to do Integer parsing when
      l/L suffix is missing
    - add negation support
    - add floating-point exponent sign support
    - fixes #795
    jjohnstn authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    dbe8101 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    b7064c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2325fe6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed9468a View commit details
    Browse the repository at this point in the history
  4. Replace o.e.o.s.resolver.VersionRange by org.osgi.framework.VersionRa…

    …nge (#786)
    
    The class org.eclipse.osgi.service.resolver.VersionRange belongs to the
    outdated org.eclipse.osgi.service.resolver package and already inherits
    org.osgi.framework.VersionRange.
    
    Additionally in P2Utils.findBundle() the check if the bundle file exists
    is deferred to the latest possibility in order to speed-up the search if
    multiple versions are present and avoids a NPE if the bundle-file cannot
    be determined.
    HannesWell authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    80cdc89 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Remove reference to Y-builds in pom.xml (#812)

    * Remove reference to Y-builds in pom.xml
    * More version bumps
    jjohnstn authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    9d6bc0a View commit details
    Browse the repository at this point in the history
  2. Deprecatedcleanup (#804)

    * Enable quick assist for deprecated calls to also be a quick fix
    
    - move some code from QuickAssistProcessor.getDeprecatedProposal() into
      QuickAssistProcessorUtil.isDeprecatedMethodCallWithReplacement()
      and add type modifier checking
    - change QuickAssistProcessor.getDeprecatedProposal() to use new
      method and to also fail if there is a deprecated method call problem
      for the selection in which case leave the proposal as a quick fix
    - add new logic into QuickFixProcessor to handle
      IProblem.UsingDeprecatedMethod using similar logic to quick assist
    - add new tests to QuickFixTest1d8
    - create InlineDeprecatedMethodCleanUpCore
    - add new logic to InlineMethodFixCore
    - make QuickAssistProcessorUtil.findCUForMethod() public
    - change order of cleanups so Variable cleanups are done after
      deprecated inlining as this causes problems otherwise
    - fixes #721
    jjohnstn authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    4906eaa View commit details
    Browse the repository at this point in the history
  3. Extract Similar Expression in All Methods If End-Users Want (#680)

    * Extract Similar Expression in All Methods If End-Users Want
    
    Co-authored-by: Jeff Johnston <[email protected]>
    Michaelll123 and jjohnstn authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    e572977 View commit details
    Browse the repository at this point in the history
  4. Clean Up Preferences: register each preference only once #797 (#807)

    Fixes number of selected cleanups. Since
    CleanUpTabPage.registerSlavePreference calls registerPreference(master)
    again.
    
    eclipse-jdt/eclipse.jdt.ui#797
    
    Co-authored-by: Jörg Kubitz <[email protected]>
    jukzi and EcljpseB0T authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    e3c8d0c View commit details
    Browse the repository at this point in the history
  5. Increase timeout in FatJarExporTests to avoid random test failures (#…

    …808)
    
    Give it a max of 30s per test instead of 5s. This doesn't slow down the
    tests execution, it just lets the tests run a bit longer if the hardware
    is slow.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#699
    fedejeanne authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    4eeffdf View commit details
    Browse the repository at this point in the history
  6. Move folder to jdt.core.manipulations; Replace plugin-specific refere…

    …nces (#810)
    
    * Move folder to jdt.core.manipulations; Replace plugin-specific references
    
    Signed-off-by: Rob Stryker <[email protected]>
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    5899c4e View commit details
    Browse the repository at this point in the history
  7. Add quick assistance for field rename refactoring (#751)

    - add new quick assist to rename a final static constant to follow constant name syntax (upper-case with underscores)
    
    Co-authored-by: Jeff Johnston <[email protected]>
    DongChunHao and jjohnstn authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    a62962e View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Standardize internal code on IProblemLocationCore (#813)

    - standardize all internal code on IProblemLocationCore wherever possible
    - have IProblemLocation extend IProblemLocationCore
    - add new constructor to ProblemLocation to wrap an IProblemLocationCore
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    3e3b3d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a527b2c View commit details
    Browse the repository at this point in the history
  3. Move constants necessary for proposals into jdt manipulations, and sm…

    …all cleanup (#814)
    
    - move some constants into jdt.core.manipulation from jdt.ui which are pre-requisites to many proposals being moved down into jdt.core.manipulation for various headless consumers like jdt.ls.
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    159912d View commit details
    Browse the repository at this point in the history
  4. Recommend variable name for Extracted Local Variable Refactoring when…

    … the extracted expression is a method invocation (#685)
    
    * add more verbs that should be removed from method call to form variable name
    
    Co-authored-by: Jeff Johnston <[email protected]>
    Michaelll123 and jjohnstn authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6872709 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Proposals branch (#815)

    - split the proposal logic into core and U moving the vast majority of the logic into the core classes
    - maintain existing UI non-core classes as wrappers for stability.
    - create IInvocationContextCore class and makes it the default interface for use in the core classes
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    Co-authored-by: Jeff Johnston <[email protected]>
    3 people authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    816a5d2 View commit details
    Browse the repository at this point in the history
  2. Apply semantic syntax coloring in Java source hover viewer. Fixes #437 (

    #438)
    
    * Apply semantic syntax coloring in Java source hover viewer. Fixes #437
    
    Also fixes source line trimming not considering indentation of 1st line
    of java element source segment causing all remaining lines to be left
    indented after trimming.
    
    * Do not delay showing java source viewer until after semantic coloring
    
    Instead of delaying, turn off redrawing of source viewer for the
    duration of coloring job & application of it's results to viewer text to
    prevent seeing intermediate content changes.
    
    * Use hidden source viewer instead of displayed one for semantic coloring
    
    Compared to using displayed viewer with disabled redrawing, this
    approach should prevent visible text modifications to displayed source
    viewer on all platforms.
    RedeemerSK authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    7c51007 View commit details
    Browse the repository at this point in the history
  3. Add back some missing methods to FixCorrectionProposal (#827)

    - add createTextChange() that uses delegate into FixCorrectProposal
    - add getRelevance() method to call delegate as well
    - fixes #826
    jjohnstn authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    6f79122 View commit details
    Browse the repository at this point in the history
  4. Fix FixCorrectionProposal to properly handle IMultiFix cleanups (#829)

    - new split of proposals into jdt.core.manipulation changed the
      computeNumberOfFixesForCleanUp() method to be passed an ICleanUpCore
      that is wrappered to be an ICleanUp but this code looks for an
      IMultiFix which gets lost in wrapping
    - change computeNumberOfFixesForClean() to use the fCleanUp field
      that is already stored and is an ICleanUp
    - fix getCleanUp() to return fCleanUp
    - fix AbstractAnnotationHover.createCompletionProposalsList() to
      just call proposal.getCleanUp() and don't do any wrapping
    jjohnstn authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    31839df View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Fix string concat to text block cleanup logic when in annotation (#830)

    - add check for being in Annotation before looking to see if NLS
      comments are set up
    - bail if NLSUtil.scanCurrentLine() fails
    - add new tests to CleanUpTest15
    - add new setup method to Java15ProjectTestSetup to make annotations
      accessible
    - fixes #824
    jjohnstn authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f8949c6 View commit details
    Browse the repository at this point in the history
  2. Javadoc error fix for CUCorrectionProposal.setDelegate()

    See https://download.eclipse.org/eclipse/downloads/drops4/I20230925-1800/compilelogs/jdt.doc.isv.javadoc.txt
    
    ../../../eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/java/correction/CUCorrectionProposal.java:147:
    error: @param name not found
    	 * @param delegate to set
    	          ^
    
    Regression from 816a5d2
    iloveeclipse committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    819ec65 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Mark newly split packages with mandatory directives (#833)

    The manipulation bundle already marks other split packages with
    
    manipulation=split;mandatory:=manipulation
    
    This add the same thing to the newly split packages:
    org.eclipse.jdt.internal.corext.refactoring.reorg
    org.eclipse.jdt.internal.corext.refactoring
    tjwatson authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    cd6cf28 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. Revert proposals split into ui and core (#836)

    * Revert "Mark newly split packages with mandatory directives (#833)"
    
    This reverts commit cd6cf28.
    
    * Revert "Javadoc error fix for CUCorrectionProposal.setDelegate()"
    
    This reverts commit 819ec65.
    
    * Revert "Fix FixCorrectionProposal to properly handle IMultiFix cleanups (#829)"
    
    This reverts commit 31839df.
    
    * Revert "Add back some missing methods to FixCorrectionProposal (#827)"
    
    This reverts commit 6f79122.
    
    * Revert "Proposals branch (#815)"
    
    This reverts commit 816a5d2.
    
    - fixes #835
    jjohnstn authored Sep 28, 2023
    Configuration menu
    Copy the full SHA
    3b0bb10 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Remove import if not needed in Pattern instanceof cleanup (#840)

    - fixes #780
    - add new test to CleanUpTest16
    jjohnstn authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    32eda5e View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Fix while to for-each loop logic (#842)

    - add new name checking logic so the chosen loop var name is not
      already used
    - add some logic to remove added imports if they are found in the
      current file
    - add new test to CleanUpTest1d8
    - fixes #798
    jjohnstn authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a65f312 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    bb4bd7c View commit details
    Browse the repository at this point in the history
  2. isExpandableNode API usage is removed.

    As we had introduced changes in getRawChildren to return remaining
    elements as children for ExpandableNode we had to explicitly make this
    change. Now we don't return remaining elements as children for
    ExpndableNode.
    
    See eclipse-platform/eclipse.platform.ui#1097
    raghucssit authored and iloveeclipse committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    f4908bd View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Respond to changes in undo API

    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and iloveeclipse committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    06389e5 View commit details
    Browse the repository at this point in the history
  2. Support 'Show In' similar to 'Link with Editor'.

    'Link with Editor' tries to select visible parent in case of element
    being linked is not created yet on tree viewer. Similar implementation
    is used for 'Show In'
    
    Fixes eclipse-platform/eclipse.platform.ui#1014
    raghucssit authored and iloveeclipse committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    2e20c95 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Revised refactoring of proposals into jdt.core.manipulation (#846)

    Revise the patch to refactor proposals logic into jdt.core.manipulation
    
    - split the proposal logic into core and U moving the vast majority of the logic into the core classes
    - maintain existing UI non-core classes as wrappers for stability.
    - create IInvocationContextCore class and makes it the default interface for use in the core classes
    - mark newly split packages with mandatory directives (#833)
    
     
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    Co-authored-by: Jeff Johnston <[email protected]>
    Co-authored-by: Andrey Loskutov <[email protected]>
    Co-authored-by: Thomas Watson <[email protected]>
    robstryker authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    e3e3578 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    0687b62 View commit details
    Browse the repository at this point in the history
  2. Fix final modifier cleanup for lambdas in constructors (#856)

    - modify VariableDeclarationFixCore to add a check for a field that
      is written in a constructor but is referred to prior to the write
      in a lambda
    - add new test to CleanUpTest1d8
    - fixes #769
    jjohnstn authored Oct 11, 2023
    Configuration menu
    Copy the full SHA
    a4af0b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    abf4eb8 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Make required changes for jdt.ls consumption (#855)

    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    b3c2c41 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Fix problem with adding type arguments to var variable (#861)

    - fixes #774
    - add var check in InferTypeArgumentsRefactoring.rewriteTypeVariable()
    - make Java50FixCore.getRawReference() method public
    - modify LocalCorrectionsSubProcessor.referencesVar() method to
      handle more cases
    - add new test to LocalCorrectionsQuickFixText10
    jjohnstn authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    6756f77 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Fix add unimplemented methods (#866)

    - fix add unimplemented methods to recognize when an abstract method
      is implemented via a parameterized type
    - add new test to AddUnimplementedMethodsTests1d8
    - fixes #863
    jjohnstn authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3d25a20 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2023

  1. Remove maven nature from org.eclipse.jdt.ui.junit.sampleproject

    The tests seem to work just fine without it and the IDE keeps removing
    it for me anyway, which shows a change to be committed and it's
    annoying.
    fedejeanne authored and iloveeclipse committed Oct 20, 2023
    Configuration menu
    Copy the full SHA
    6a21522 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    a611279 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebb6818 View commit details
    Browse the repository at this point in the history
  3. version bump org.eclipse.jdt.text.tests

    EcljpseB0T authored and jukzi committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    42a7fbe View commit details
    Browse the repository at this point in the history
  4. Fix organize imports when break label used (#868)

    - fix OrganizeImportsOperation.addStaticImports() to not return
      when static favorite imports preference is unset
    - add new test to ImportOrganizeTest
    - fixes #853
    jjohnstn authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    4c12a45 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Fix StringBuffer to StringBuilder cleanup (#875)

    * Fix StringBuffer to StringBuilder cleanup
    
    - fixes #869
    - add logic to handle StringWriter.getBuffer() and other binary methods returning StringBuffer
    - add new test scenario to CleanUpTest1d8
    jjohnstn authored Oct 25, 2023
    Configuration menu
    Copy the full SHA
    3032959 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Recognize instance main methods as such in the UI (#878)

    If there is a main method candidate it ensures that the class is
    runnable.
    JavaModelUtils is used in JavaElementImageProvider and this change makes
    classes with instance main methods being shown as runnable in the
    Outline view if running on Java 21 with --enable-preview set.
    akurtakov authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    fd8a2cd View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Bug 538832 - [quick assist] Remove non-sensical assign-to proposals (…

    …#880)
    
    * Bug 538832 - [quick assist] Remove non-sensical assign-to proposals
    
    - fixes https://bugs.eclipse.org/bugs/show_bug.cgi?id=538832
    - don't add proposals for assigning to various fields if one field has a matching
      name to a parameter
    - add new test to AssistQuickFixTest
    - specify --release 8 for jdt.ui.junit.sampleproject
    - Remove warnings in jdt.ui.junit.sampleproject
    jjohnstn authored Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9930873 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Add support for disabling the vintage engine with an attribute (#886)

    This adds the infrastructure for disabling the adding of vintage
    engine/junit4 to the classpath of the JUnit5 container.
    
    See eclipse-jdt/eclipse.jdt.ui#837
    laeubi authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    a893b51 View commit details
    Browse the repository at this point in the history
  2. Do not create import for nested class of record with organize imports…

    … (#892)
    
    - add logic to Bindings.getBindingOfParentTypeContext to handle
      records
    - add new ImportOrganizeTest16
    - fixes #890
    jjohnstn authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    4ea918d View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Set a VM property when JUnit view requested a stop during JUnit 5 tests

    A VM property with name 'JDT_JUNIT5_RUNNER_STOP_REQUESTED' is set when
    the JUnit view requested to stop JUnit 5 test execution.
    
    This property can be used by test frameworks based on JUnit, to stop
    test execution. JUnit 5 itself doesn't yet support stopping test
    execution.
    
    Partial workaround for: #889
    trancexpress authored and iloveeclipse committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    542723d View commit details
    Browse the repository at this point in the history
  2. Bumped bundle version

    trancexpress authored and iloveeclipse committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    a496563 View commit details
    Browse the repository at this point in the history
  3. Stop JUnit 5 execution on JUnit view stop request

    This change throws an OutOfMemoryError before a test starts (via
    TestExecutionListener), if the JUnit view requested a test execution
    stop during JUnit 5 tests.
    
    An OOME is the only type of exception that is not swallowed by the JUnit
    5 framework, when notifying a TestExecutionListener.
    
    Fixes: eclipse-jdt/eclipse.jdt.ui#889
    trancexpress authored and iloveeclipse committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    14e46ea View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. fix some javadoc issue

    EcljpseB0T authored and jukzi committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    d3f6daf View commit details
    Browse the repository at this point in the history
  2. Remove some empty methods from internal class in AbstractInfoView

    The methods override the default empty implementation with the same
    empty implementation. This yields an unnecessary "info" in the problems
    view
    fedejeanne authored and jukzi committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    f358ed8 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. Configuration menu
    Copy the full SHA
    ebf1e9d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    05f567c View commit details
    Browse the repository at this point in the history
  2. Remove redundant type Parameters

    to reduce ecj warnings
    EcljpseB0T authored and jukzi committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    284d2a1 View commit details
    Browse the repository at this point in the history
  3. version bumps

    EcljpseB0T authored and jukzi committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    34f6473 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Fix NPE in QuickAssistProcessorUtil (#926)

    * Fix NPE in QuickAssistProcessorUtil
    
    - fixes #917
    - fix API errors in JDT UI build
    jjohnstn authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    c4f796f View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Add release workflow

    noopur2507 committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    0f81d5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c9ac09 View commit details
    Browse the repository at this point in the history
  3. Update for release 4.31

    noopur2507 committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    f86d5a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Configuration menu
    Copy the full SHA
    4c3694f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdd3fa6 View commit details
    Browse the repository at this point in the history
  3. Move refactoring contribution extensions to jdt.core.manipulation

    - Also version bump jdt.core.manipulation
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and rgrunber committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    440dc9d View commit details
    Browse the repository at this point in the history
  4. Fix JavaSource hover not displayed from ClassFileEditor. Fixes #936 (…

    …#937)
    
    * Fix JavaSource hover not displayed from ClassFileEditor. Fixes #936
    
    * Bump up JDT UI
    
    ---------
    
    Co-authored-by: Jeff Johnston <[email protected]>
    RedeemerSK and jjohnstn authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    cf987c3 View commit details
    Browse the repository at this point in the history
  5. Enable StringBuffer to Text Block quick assist (#934)

    * Enable StringBuffer to Text Block quick assist
    
    - fix logic in QuickAssistProcessor.getStringConcatToTextBlockProposal()
      to also support StringBuffer or StringBuilder variable declaration
      that can be converted to Text Block
    - add new test to AssistQuickFixTest15
    - fixes #882
    
    * Bump up JDT UI tests
    jjohnstn authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    f61311d View commit details
    Browse the repository at this point in the history
  6. Fix Externalize Strings when input is a Text Block (#918)

    * Fix Externalize Strings when input is a Text Block
    
    - fixes: #906
    - fix NLSHint.stripQuotes() to recognize a text block
    - add new NLSHintStripQuotesTest class
    
    * Add additional tests to NLSHintStripQuotesTest
    
    * Bump up o.e.jdt.ui.tests.refactoring
    jjohnstn authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e76bc7c View commit details
    Browse the repository at this point in the history
  7. Allow generate constructor using fields on class with no fields (#905)

    * Allow generate constructor using fields on class with no fields
    
    - add new constructor to SourceActionDialog to accept flag that
      allows empty tree and pass this on to super class
    - remove zero fields test in GenerateConstructorUsingFieldsAction
    - add new test to GenerateConstructorUsingFieldsTest
    jjohnstn authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    df95619 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Remove empty if-statement in PathVisitor::extend2EndOfLoop(ASTNode) (…

    …#909)
    
    Extract the conditions into variables and merge the removed if with the
    following else-if to make its intention a bit clearer.
    fedejeanne authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    137f84f View commit details
    Browse the repository at this point in the history
  2. Cache the list of names whose favorite static imports we have resolved.

    - Do not recompute favorite static imports for an unknown type
    - Reuse compilation unit working copy in code completion logic
    
    Signed-off-by: Roland Grunberg <[email protected]>
    rgrunber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    d04cefe View commit details
    Browse the repository at this point in the history
  3. Javadoc: fix unclosed <code>

    EcljpseB0T authored and jukzi committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    e9f77d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d217be8 View commit details
    Browse the repository at this point in the history
  5. Work around API tooling warning regarding unnecessary minor bump.

    - jdt.core.manipulation received an unnecessary minor version bump,
      where a service bump was sufficient
    
    Signed-off-by: Roland Grunberg <[email protected]>
    rgrunber committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    19a3a48 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. build.properties: add output.. = bin/

    to avoid false positive API errors in tycho builds
    EcljpseB0T authored and jukzi committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    d594395 View commit details
    Browse the repository at this point in the history
  2. Remove blank Javadoc

    This commit cleans up Javadoc that does not add information.
    It resolves ecj warnings:
     `Javadoc: Description expected after ...`
    It helps to prevent future empty javadoc by disabling
    missingJavaDoc warnings. This resolves
     `Javadoc: Missing ...`
    
    The modification is a result of regular expression search&replace:
    
    in files `*.java`
     `^[\s]*\*[\s]*(@return|@param[\s]*[^\s]+|@throws[\s]*[^\s]+)\R([\s]*\*[\s]*@|[\s]*\*/\R)`
     ->`$2`
     `^([\s]*\*[\s]*\R)([\s]*\*/\R)`
     ->`$2`
     `^[\S\t ]*/\*\*\R[\s]*\*/\R`
     ->``
    
    in files `org.eclipse.jdt.core.prefs`
     `org\.eclipse\.jdt\.core\.compiler\.problem\.missingJavadoc(Comments|Tags)\=[^\s]*`
     ->`org\.eclipse\.jdt\.core\.compiler\.problem\.missingJavadoc$1\=ignore`
    
    excludes files in
     org.eclipse.jdt.text.tests/testResources
     org.eclipse.jdt.ui.tests.refactoring/resources
    EcljpseB0T authored and jukzi committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    8384a31 View commit details
    Browse the repository at this point in the history
  3. version bump

    EcljpseB0T authored and jukzi committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    6acdf4e View commit details
    Browse the repository at this point in the history
  4. fix various javadoc issues

    reduce ecj warnings in workspace
    EcljpseB0T authored and jukzi committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    99bb183 View commit details
    Browse the repository at this point in the history
  5. Disable some problem marker

    `The expression of type _ is boxed into _` - not a problem
    `Empty block should be documented` - not a problem
    `The allocated object is never used` - normal for SWT
    `The switch statement should have a default case`
    `_ is a raw type. References to generic type _<E> should be
    parameterized` - new code is reviewed anyway and nobody takes time to
    refactor the old raw types
    
    Also includes some minor warning fixes
    EcljpseB0T authored and jukzi committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    93c2d6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a8eef9 View commit details
    Browse the repository at this point in the history
  7. Re-normalize line-endings in git of all files to Linux style ("\n")

    Some files were checked-in into git having windows style line
    endings (\r\n). This is in general not wanted because it can cause
    modified files without any difference in git-staging on Windows if
    auto-crlf is enabled.
    
    To re-normalize line endings of all files use the following command
    (including dot):
    
    git add --renormalize .
    HannesWell authored and iloveeclipse committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    66a27ce View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Adding pomless build to JDT UI

    This enables pomless builds for JDT UI and removes the simple pom files.
    
    Future commits can reduce the usage of pom files further.
    
    For #948
    vogella authored and jukzi committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    4b92b57 View commit details
    Browse the repository at this point in the history
  2. Small checks and behavior differences for refactorings and assists (#…

    …921)
    
    - Small checks and behavior differences for refactorings and assists for headless consumers (jdt.ls)
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    4e1aea2 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2023

  1. Dont show children for JUnit 5 @testtemplate tests that ran only once

    When running JUnit 5 @testtemplate tests, extra test suites are shown in
    the JUnit view to represent the tests in the template. Those suites
    introduce unnecessary noise when the template contains only one test -
    e.g. when repeating tests that failed.
    
    This change adjusts TestSuiteElement.getChildren(), pruning each
    TestSuiteElement that has a single TestCaseElement child that is also a
    dynamic test.
    
    Fixes: #945
    Signed-off-by: Simeon Andreev <[email protected]>
    trancexpress authored and iloveeclipse committed Dec 3, 2023
    Configuration menu
    Copy the full SHA
    cb94acb View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Restoring the group-id from the old pom files

    Using https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless#overwrite-group-and-artifact-ids
    we restore the group id to org.eclipse.jdt.feature for features and
    org.eclipse.jdt for plug-ins
    vogella authored and akurtakov committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    2d271c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23f5ad1 View commit details
    Browse the repository at this point in the history
  3. Small cleanup of selection code in JUnit view

    The selection listener code assumes the good selection should always
    have exact one element and only from given type. Let make this code more
    verbose to reflect the original intent.
    
    See eclipse-platform/eclipse.platform.ui#1360
    iloveeclipse committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    c3451d7 View commit details
    Browse the repository at this point in the history
  4. Fix incorrect return value in StaticImportFavoritesCompletionInvoker.

    - Helper method createNewCompilationUnit should always return an array.
    
    Signed-off-by: Roland Grunberg <[email protected]>
    rgrunber committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    d0421bf View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Remove unnecessary semicolon

    to reduce warnings
    EcljpseB0T authored and jukzi committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    6276394 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ecf44a View commit details
    Browse the repository at this point in the history
  3. fix "The static method should be accessed directly" warnings

    via quickfix
    EcljpseB0T authored and jukzi committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    b25fd15 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46a58c7 View commit details
    Browse the repository at this point in the history
  5. remove not analysed @SuppressWarnings("javadoc")

    get rid of
    "At least one of the problems in category 'javadoc' is not analysed due
    to a compiler option being ignored"	warnings
    EcljpseB0T authored and jukzi committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4412697 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c2467da View commit details
    Browse the repository at this point in the history
  7. Fix string concat to text block when string is a parameter (#979)

    - fix StringConcatToTextBlockFixCore to not bail on a method
      parameter or assignment where a method is called and the result
      of the method is not String
    - add new test scenarios to CleanUpTest15
    - fixes #935
    jjohnstn authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4c7f466 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Fix NPE in string concat to text block fix (#980)

    * Prevent NPE in string concat to text block cleanup
    
    - add null check for originalVarName field in
      StringConcatToTextBlockFixCore.visit(ClassInstanceCreation)
    - fixes: #950
    - add new test scenarios to CleanUpTest15
    jjohnstn authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    16c8792 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    798db97 View commit details
    Browse the repository at this point in the history
  3. Modernize JavadocView code

    * Remove useless see tags
    * Use pattern matching
    akurtakov committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    915420a View commit details
    Browse the repository at this point in the history
  4. Move examples to Java 17

    Their deps already did that so it actually fixes couple of warnings in
    the workspace.
    akurtakov committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d219209 View commit details
    Browse the repository at this point in the history
  5. Make JavaUI view constants final

    It is a plain oversight as I can not imagine anyone wanting these to be
    overridden.
    Added api_filters to not cause extra warnings in the code.
    akurtakov committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    5e0e5d0 View commit details
    Browse the repository at this point in the history
  6. Add API filters (#883)

    From JUnitRemoteTestRunnerClient to RemoteTestRunnerClient, both in the
    same plugin.
    fedejeanne authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a4c1b5b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9dbce6b View commit details
    Browse the repository at this point in the history
  8. Fix ComparingOnCriteriaCleanUp to handle wildcard types (#925)

    - fixes #174
    - add logic to buildField to handle wildcard types
    - add new scenario to current test in CleanUpTest1d8
    jjohnstn authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3703afa View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    2a7025d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68f13f5 View commit details
    Browse the repository at this point in the history
  3. Push down javadoc code from jdt.ui to jdt.core.manipulations (#941)

    Refactor logic for javadoc html generation to jdt.core.manipulation
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    cbc03c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    68cfd95 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c3ad6e2 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Refactor invert-equals quickfix for headless mode. (#956)

    * Refactor invert-equals quickfix for headless mode.
    
    * Fix copyright for new file to have single year
    
    ---------
    
    Co-authored-by: Jeff Johnston <[email protected]>
    gayanper and jjohnstn authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    925090b View commit details
    Browse the repository at this point in the history
  2. Refactor lambda quickfixes for headless (#958)

    * Refactor lambda quickfixes for headless
    
    - ChangeLambdaBodyToBlock
    - ChangeLambdaBodyToExpression
    - ConvertLambdaToMethodReference
    - AddInferredLambdaParameterTypes
    - AddVarLambdaParameterTypes
    - RemoveVarOrInferredLambdaParameterTypes
    gayanper authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8977b63 View commit details
    Browse the repository at this point in the history
  3. use try-with-resource

    Closing a ByteArrayInputStream has no effect
    EcljpseB0T authored and jukzi committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e8754ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa984a4 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Add test class JUnit5TestFinderJupiterTest

    The class contains some tests that cover the current capabilities of
    JUnit5TestFinder and it was missing from the tests.
    This class does NOT resemble the other 2 existing classes:
    JUnit3TestFinder and JUnit4TestFinder
    fedejeanne authored and iloveeclipse committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    a2e1b0d View commit details
    Browse the repository at this point in the history
  2. Remove hard-coded test finder from JUnitCore

    The test finder should be obtained by looking into the container and
    determining what kind of tests can be run there.
    Rename JUnit4TestFinderTest to JUnitTestFinderTest and make it a
    parameterized test that runs both in JUnit4 and JUnit5 mode and add a
    regression test to it ("testInnerClassWithNestedAnnotationIsFound")
    
    Fixes eclipse-jdt/eclipse.jdt.ui#952
    fedejeanne authored and iloveeclipse committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    54ab848 View commit details
    Browse the repository at this point in the history
  3. Expand exposure for JDT-LS to extend some elements of CoreJavaDoc2HTM…

    …LTextReader
    Rob Stryker authored and rgrunber committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    20f3880 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    a88cfbb View commit details
    Browse the repository at this point in the history
  2. Performance: cache JARs during UI Operations- jdt.core#1614

    Improves performance of Call-Hierarchy, Type-Hierarchy, Hover, ...
    
    eclipse-jdt/eclipse.jdt.core#1614
    EcljpseB0T authored and jukzi committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    fc6a25a View commit details
    Browse the repository at this point in the history
  3. fix NewTypeWizardTest progress

    beginTask must only be called once on a given progress monitor instance.
    EcljpseB0T authored and jukzi committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e7f72f0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63f7090 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. OpenAction: do not use readOnly - fixes #1005

    regression from "Performance: cache JARs during UI Operations" #933
    
    During OpenAction arbitrary other events can be executed in swt thread
    during BusyIndicator.showWhile()
    
    partial revert of 763d4d0a4c1cc6d5809639ec356a7d499f4d9018
    EcljpseB0T authored and jukzi committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    1b953e5 View commit details
    Browse the repository at this point in the history
  2. BestMatchHover: do not use readOnly - fixes #1005

    regression from "Performance: cache JARs during UI Operations" #933
    
    During hover of problems sometimes a dummy quickfix is applied.
    partial revert of 763d4d0a4c1cc6d5809639ec356a7d499f4d9018
    EcljpseB0T authored and iloveeclipse committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    b0aad33 View commit details
    Browse the repository at this point in the history
  3. Quickfix Converting to Enhanced For Loop Creates Invalid Code #1008 (…

    …#1009)
    
    The change fixes the conversion of an iterator based for loop to an enhanced for loop. When there is an iterator.next() in the body of the for loop and is a direct only child of the whole statement, it becomes a standalone identifier (var;) on conversion which is an errorful statement in Java.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1008
    amartya4256 authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    ffcd69a View commit details
    Browse the repository at this point in the history
  4. SelectionDispatchAction: do not use readOnly - fixes #1010

    regression from "Performance: cache JARs during UI Operations" #933
    
    During SelectionDispatchAction arbitrary other events can be executed in
    swt thread during BusyIndicator.showWhile()
    
    partial revert of 763d4d0a4c1cc6d5809639ec356a7d499f4d9018
    EcljpseB0T authored and jukzi committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    c772015 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Push down code related to java partition scanners, now that o.e.jface…

    …… (#1011)
    
    * Push down code related to java partition scanners, now that o.e.jface.text.rules have been moved to org.eclipse.text
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    d9752ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3b21da View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c09d13e View commit details
    Browse the repository at this point in the history
  4. Quick Fix: Convert Iterable to Enhanced For Loop Omits Next Method fo…

    …r Any Class #1013
    
    The fix to check if the expression containing next as a method binding
    is the relevant iterator.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1013
    amartya4256 authored and iloveeclipse committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    5b76d86 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Refactor deprecated SubProgressMonitor usage into Progress.subMonitor

    To centralize many deprecation warnings, since there is no replacement
    for SUPPRESS_SUBTASK_LABEL/PREPEND_MAIN_LABEL_TO_SUBTASK
    EcljpseB0T authored and jukzi committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    4530533 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Examples: fix warnings

    EcljpseB0T authored and jukzi committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    0d3a3cf View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Failed TestTemplate with only one test doesn't show fail trace

    This change adjusts TestSuiteElement to show the trace of a failed
    child, if that child is the only test case it ran and its dynamic. It
    also adjusts navigation to the failed line in this case - so that
    navigation goes to the failed line and not to the test method with the
    @testtemplate annotation.
    
    Fixes: #1021
    Signed-off-by: Simeon Andreev <[email protected]>
    trancexpress authored and iloveeclipse committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    5c7d1a2 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Configuration menu
    Copy the full SHA
    fa0b942 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    440d8b0 View commit details
    Browse the repository at this point in the history
  3. Make order of elements in saved JAR description file deterministic #1024

    When exporting JAR description files from the JarPackageWizard, the
    elements to be exported into the JAR file are currently stored in a
    non-deterministic order. This makes it particularly difficult to merge
    the description files in case they are put under version control.
    
    This change makes a JAR description file exported from the
    JarPackageWizard always list the exported elements in the same order by
    sorting them according to their names. It also adds an according
    regression test.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1024
    HeikoKlare authored and iloveeclipse committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    6cc39d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Read java file as stream in JUnit5TestFinderJupiterTest #999

    Read the contents of the java file (test class) as a stream to avoid
    FileNotFoundException in nightly builds.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#999
    fedejeanne authored and iloveeclipse committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    388871f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c90373 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a81e7e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Feature Proposal Make Static Refactoring (#689)

    * Feature Proposal Make Static Refactoring
    
    Fixes #590
    
    Introducing a new Refactoring called "Make Static", a tool that transforms instance methods into static ones in the context of Eclipse's Java Development Tools. This involves adjusting method invocations appropriately to maintain logical correctness. The refactoring supports both instance and static contexts, passing 'this' for invocations within instance methods and the relevant instance variable for invocations in other classes or static methods.
    
    Co-authored-by: Michael5601 <[email protected]>
    Co-authored-by: Jeff Johnston <[email protected]>
    3 people authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    5294abc View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    85fdf3a View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    ee77503 View commit details
    Browse the repository at this point in the history
  2. Fix ExtractConstantRefactoring to recognize no type is available (#1046)

    - fixes #1023
    - add new test to ExtractConstantTests1d7.java
    jjohnstn authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    d513389 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    1ddb457 View commit details
    Browse the repository at this point in the history
  2. Junit, Refactoring: some SubMonitor usage

    To get rid of SubProgressMonitor deprecation warnings
    EcljpseB0T authored and jukzi committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    17cbcff View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Add support for code completion inside text block templates #1038 (#1…

    …055)
    
    Signed-off-by: Kalyan Prasad Tatavarthi <[email protected]>
    ktatavarthi authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    82300c2 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. refactor method-ref fixes to be used in headless mode. (#1048)

    * refactor method-ref fixes to be used in headless mode.
    gayanper authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f995109 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Fix ExtractConstantRefactorings to handle NLS tags (#1060)

    - fixes #1040
    - don't perform convert to MessageFormat.format() or String.format()
      unless all string literals have NLS tags or none do
    - add new tests to AssistQuickFixTest
    jjohnstn authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    756cca5 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    417ba9a View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Fix Bug 148012 - add quick fix to assign statement to local variable …

    …(#1004)
    
    * Fix Bug 148012 - add quick fix to assign statement to local variable
    
    - see https://bugs.eclipse.org/bugs/show_bug.cgi?id=148012
    - use similar logic from QuickAssistProcessor in QuickFixProcessor
      when problem is IProblem.ParsingErrorInsertToComplete
    - add new test to QuickFixTest1d8
    - don't add light-bulb for ParsingErrorInsertToComplete
    - fix QuickFixTest to have a version of collect completions that
      doesn't verify the light bulb marker
    jjohnstn authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    24d4eae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe71a51 View commit details
    Browse the repository at this point in the history
  3. Ensure "Make Static" refactoring only adds parameter if necessary #10…

    …44 (#1072)
    
    The "Make Static" refactoring currently adds a "this" parameter to the
    method in cases in which it is actually not necessary. This is
    particularly the case the body of the method to be refactored contains
    invocations of methods on a newly instantiated object. The according
    logic erroneously considers such a method invocation as a reason to add
    a parameter.
    
    With this fix, the identification of whether a parameter needs to be
    added to the method depends on whether the logic calculating an actual
    change to the method body is actually applied. An according
    regression test for the behavior is added.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1044
    HeikoKlare authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0ab299c View commit details
    Browse the repository at this point in the history
  4. A small pushdown of some classes jdt.ls would like to make use of (#1…

    …053)
    
    * A small pushdown of some classes jdt.ls would like to make use of
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    3999ad4 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Avoid "overlapping text edits" in "Make Static" refactoring #1045 (#1…

    …070)
    
    * Avoid "overlapping text edits" in "Make Static" refactoring #1045
    
    The "Make Static" refactoring currently produces overlapping text edits
    in case there are changes in the source code file containing the
    refactored method before and after that method. The reason is that the
    calls to the refactored method are wrapped into a single MultiTextEdit
    whose scope is then overlapping with the TextEdit for the refactored
    method itself.
    
    With this fix, the changes to callers of the refactored method are
    treated as individual TextEdits rather than one MultiTextEdit, so that
    none of the generated text edits have pairwise overlaps. An according
    regression test for the behavior is added.
    
    Fixes #1045
    HeikoKlare authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8c6926b View commit details
    Browse the repository at this point in the history
  2. Sub processor pushdown1 (#1078)

    * Abstract out JavadocTagsSubProcessor for extension
    * Abstract out SerialVersionSubProcessor
    * Separate core from ui for UnInitializedFinalFieldSubProcessor
    * Allow all subprocessors to use IInvocationContextCore
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    8e28ae0 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Configuration menu
    Copy the full SHA
    d367439 View commit details
    Browse the repository at this point in the history
  2. fix "Potential null pointer access" markers (#1086)

    * disabled warning in test and example code
    * raised level to warning in production code
    * refactored code to get rid of all warnings
    
    Co-authored-by: Jörg Kubitz <[email protected]>
    jukzi and EcljpseB0T authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    3ce9943 View commit details
    Browse the repository at this point in the history
  3. add missing @OverRide

    EcljpseB0T authored and jukzi committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    adce2c0 View commit details
    Browse the repository at this point in the history
  4. Pushdown cleanup api (#1079)

    * Push cleanup classes down to jdt.core.manipulations
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    b09607e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e0f474 View commit details
    Browse the repository at this point in the history
  6. Improve Javadoc generated by "Make Static" refactoring #1043 (#1084)

    This change improves the Javadoc generation behavior of the "Make
    Static" refactoring and aligns it with other refactorings such as
    "Change Method Signature". It ensures that generated parameter tags are
    inserted at proper positions within an existing Javadoc comment. The tag
    for the parameter itself is added as the first parameter tag, following
    any author or version tags. The tags for potential type parameters are
    added as the last parameter tags, preceding any other tags than author
    or version.
    
    The reused functionality from
    ChangeMethodSignatureRefactoringContribution is factored out to the
    JavadocUtil class.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1043
    HeikoKlare authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    36a9f78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b8999d3 View commit details
    Browse the repository at this point in the history
  8. Correct "Make Static" refactoring behavior for anonymous classes #108…

    …3 (#1085)
    
    The "Make Static" refactoring erroneously interprets a method call
    within an anonymous class inside the refactored method as a call on
    `this` and thus changes the method invocation to be performed on the
    added input parameter of the method. This is (1) semantically incorrect
    and (2) leads to compile errors if the type of the added parameter does
    not provide the method.
    
    With this fix, the identification of whether a method invocation is
    performed on the `this` object of the method to be refactored and not
    some instance of an anonymous inner class inside that method is
    corrected. For three different scenarios (anonymous class extending
    outer class, anonymous class extending other class, and nested anonymous
    classes), regression tests are added.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1083
    HeikoKlare authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    d10ed73 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. fix CallHierarchyTestHelper generics

    EcljpseB0T authored and jukzi committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    d367f3d View commit details
    Browse the repository at this point in the history
  2. get rid of deprecated newInstance()

    EcljpseB0T authored and jukzi committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    c10fb30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31405ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da30623 View commit details
    Browse the repository at this point in the history
  5. TestRunner: fix warnings

    EcljpseB0T authored and jukzi committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    542f49c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18ceead View commit details
    Browse the repository at this point in the history
  7. add missing @deprecated

    EcljpseB0T authored and jukzi committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    fca51c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9cd02fe View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. remove Exceptions not actually thrown

    eliminates problem markers and dead code
    EcljpseB0T authored and jukzi committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5afacf3 View commit details
    Browse the repository at this point in the history
  2. remove unused parameters

    to get rid of "is not used" problem markers
    EcljpseB0T authored and jukzi committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    6826280 View commit details
    Browse the repository at this point in the history
  3. Fix String concat to text block to properly handle spaces (#1112)

    * Fix String concat to text block to properly handle spaces
    
    - fixes #1111
    - add new tests to AssistQuickFixTest15
    - Fix CleanUpTest15 expected results
    jjohnstn authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    eb1e529 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    35032f2 View commit details
    Browse the repository at this point in the history
  2. Separate core and ui for GetterSetterCorrectionSubProcessor and Varar…

    …gsWarningsSubProcessor (#1116)
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    4a0adfa View commit details
    Browse the repository at this point in the history
  3. Fix jar-in-jar-loader multi-release support (#1058)

    In order to open a JAR file in multi-release mode the URL of the file
    must be suffixed with `#runtime`.
    
    Currently the `rsrc:` URL handler strips this fragment, which breaks
    multi-release JARs retrieved through the `rsrc:` protocol.
    ppkarwasz authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    be9b97c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Don't set preference key of other bundle on shutdown

    The other bundle might not be shutdown yet and would still want that
    key.
    
    Fixes eclipse-jdt/eclipse.jdt.ui#1093
    iloveeclipse committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    bd5e547 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58c8b0c View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    b37394e View commit details
    Browse the repository at this point in the history
  2. fix "hiding" warnings

    EcljpseB0T authored and jukzi committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    6a8301e View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    0c7d5b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e123376 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    d8f3c39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1aec59 View commit details
    Browse the repository at this point in the history
  3. Move additional methods in SuppressWarningsSubprocessorCore to jdt.co…

    …re.manipulation
    
    Signed-off-by: Hope Hadfield <[email protected]>
    hopehadfield authored and rgrunber committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    9321d42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c610925 View commit details
    Browse the repository at this point in the history
  5. Add quick fix for duplicate constructor that doesn't do rename (#1128)

    - fixes #1123
    - modify LocalCorrectionsSubProcessor.addInvalidVariableNameProposals()
      to recognize a duplicate constructor and instead of a rename suggest
      removal of duplicate constructor
    - add new test to LocalCorrectionsQuickFixTest.java
    jjohnstn authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    25dea83 View commit details
    Browse the repository at this point in the history
  6. Fix exception in use comparator cleanup (#1137)

    - fixes #915
    - add wildcard support to ComparingOnCriteriaOperation.buildMethod()
      similar to what was added to buildField()
    - add to existing test case in CleanUpTest1d8 for comparator cleanup
    jjohnstn authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    d63daef View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Sub processor push down part2 (#1120)

    * Split core/ui for ReorgCorrectionsSubProcessor
    * Separate core/ui in TypeMismatchSubProcessor
    * Split core/ui for ReturnTypeSubProcessor
    * Heavy work on UnresolvedElementsSubProcessor and linked classes
    * Update api filters
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    db54332 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ffdf94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b3e418 View commit details
    Browse the repository at this point in the history
  4. NPE in StubUtility when generating javadoc for method declaration wit…

    …h no return type (#1142)
    
    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    b57e882 View commit details
    Browse the repository at this point in the history
  5. Cleanup in all -BaseSubProcessor classes and extenders (#1141)

    Signed-off-by: Rob Stryker <[email protected]>
    Co-authored-by: Rob Stryker <[email protected]>
    robstryker and Rob Stryker authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    6a38e1c View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. fix ImporterTest.testImportRawJavaProject()

    to use public API instead of type cast.
    Failing since I20240130-1800
    
    Java nature and java project are now implemented as separate instances
    eclipse-jdt/eclipse.jdt.core#1916
    EcljpseB0T authored and jukzi committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    86d9100 View commit details
    Browse the repository at this point in the history
  2. Jenkinsfile: fix wrong referenceBuild

    EcljpseB0T authored and jukzi committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    a083e73 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Configuration menu
    Copy the full SHA
    3910cb8 View commit details
    Browse the repository at this point in the history
  2. suppress "illegally extends CleanUpOptions"

    CleanUpOptions @noextend is not intended to be subclassed by CLIENTS.
    EcljpseB0T authored and jukzi committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    2647528 View commit details
    Browse the repository at this point in the history
  3. SuperTypeRefactoringProcessor: fix deprecated finalize()

    tested with System.gc() behind
    ExtractInterfaceTests1d8.testExtractInterfaceFromInterface2()
    EcljpseB0T authored and jukzi committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    41f215c View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Add missing synchronization for ChangeCorrectionProposalCore (#1162)

    - add missing synchronization for getCurrentChange() which accesses
      fChange which is created in a synchronized method
    - potential fix for #1136
    jjohnstn authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    af2e418 View commit details
    Browse the repository at this point in the history
  2. fix deprecated ThreadDeath

    The type ThreadDeath has been deprecated since version 20 and marked for
    removal
    EcljpseB0T authored and jukzi committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    ed81875 View commit details
    Browse the repository at this point in the history
  3. fix deprecated createImage(ImageDescriptor)

    The method createImage(ImageDescriptor) from the type ResourceManager is
    deprecated since version 3.31
    EcljpseB0T authored and jukzi committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    824a994 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. Move some core code into ReorgCorrectionBaseSubProcessor (#1154)

    * Move some core code into ReorgCorrectionBaseSubProcessor
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    55a99db View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Suppress deprecation: java.util.Observable

    There is no plan to change the implementation
    EcljpseB0T authored and jukzi committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    38c8ebe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86d7548 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    de1b5ca View commit details
    Browse the repository at this point in the history
  4. Fix while to for-each cleanup to handle capture/wildcard types (#1167)

    - fixes #963
    - add new test to CleanUpTest1d8
    jjohnstn authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    9d9f4ff View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. don't fail build on test error

    EcljpseB0T authored and jukzi committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    26600a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c8c8cc View commit details
    Browse the repository at this point in the history
  3. Incremental delete of duplicate interfaces (IInvocationContextCore an…

    …d IProblemLocationCore)
    
    - Removal of internal interfaces IInvocationContextCore and IProblemLocationCore
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    9288f3f View commit details
    Browse the repository at this point in the history
  4. Add checking so no invalid extract local variable proposals are offer…

    …ed (#1177)
    
    * Add checking so no invalid extract local variable proposals are offered
    
    - fix ExtractTempRefactoring.checkFinalConditions() to recognize an
      empty edit and set refactoring status to info with failure message
    - also fix the method to register it has been run and to save the
      refactoring status code
    - fix QuickAssistProcessor.getExtractVariableProposal() to run the
      checkFinalConditions() method of the extract temp refactorings
      and to not offer a proposal if the status is not OK
    - add new tests to ExtractTempTests and AssistQuickFixTest
    jjohnstn authored Feb 7, 2024
    Configuration menu
    Copy the full SHA
    999668a View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Incremental delete of duplicate interfaces (Delete ICleanUpCore)

    - Remove internal interface ICleanUpCore
    - Remove CleanUpFixWrapper, as it is no longer necessary
    - Remove unused CleanUpCoreWrapper
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ba75582 View commit details
    Browse the repository at this point in the history
  2. Delete internal abstract classes AbstractCleanUpCore and AbstractMult…

    …iFixCore
    
    Signed-off-by: Rob Stryker <[email protected]>
    Rob Stryker authored and akurtakov committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    c61554b View commit details
    Browse the repository at this point in the history
  3. Don't offer extract to constant unless expression is final and static…

    … (#1182)
    
    * Don't offer extract to constant unless expression is final and static
    
    - fixes #1180
    - add new logic to QuickAssistProcessor.getExtractVariableProposal()
    - add new tests to AssistQuickFixTest
    jjohnstn authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    dc8daea View commit details
    Browse the repository at this point in the history
  4. Incremental delete of duplicate interfaces (IMultiFixCore & ILinkedFi…

    …xCore)
    
    - Delete internal interface IMultiFixCore & ILinkedFixCore, plus small cleanup
    
    Signed-off-by: Rob Stryker <[email protected]>
    robstryker authored Feb 9, 2024
    Configuration menu
    Copy the full SHA
    8133c17 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. Fix UI freeze due to extract to local computations (#1186)

    * Fix UI freeze due to extract to local computations
    
    - fixes #1185
    - don't run checkFinalConditions() from QuickAssistProcessor to see if
      extract to local variable proposals are valid
    - override the preview for extract to local variable and extract to
      local variable (replace all occurrences) so they just display a
      message instead of creating the change
    - fix ExtractTempRefactoring.checkFinalConditions() to recognize an
      invalid change in which case add a fatal error status with a code from
      RefactoringStatusCodes
    - modify RefactoringCorrectionProposalCore to recognize the
      error and create a dummy edit plus a log entry to note that
      the extraction will not occur
    - fix AssistQuickFixTest tests proposal counts
    jjohnstn authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    fe167c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. ChangedValueChecker: multithreading fixes (#1187)

    * use concurrent datastructures, volatile fConflict
    * do not spinloop burning cpu
    
    Co-authored-by: Jörg Kubitz <[email protected]>
    jukzi and EcljpseB0T authored Feb 12, 2024
    Configuration menu
    Copy the full SHA
    a714c63 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Create codeql.yml

    jukzi authored and EcljpseB0T committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    72ece94 View commit details
    Browse the repository at this point in the history