All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.codemods.OverridesMatchParentSynchronizationCodemod.description.md Maven / Gradle / Ivy

The newest version!
This change adds missing synchronized keyword to methods that override a synchronized method in the parent class.
Our changes look something like this:

```diff
  interface AcmeParent {
     synchronized void doThing();
  } 

  class AcmeChild implements AcmeParent {

    @Override
-    void doThing() {
+    synchronized void doThing() {
      thing();
    }
    
  }
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy