mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 20:07:01 +07:00
This patch fixes the notes from the code review it includes: - splitting the code that detects related @throws in the local inspection from the code that is used in the global one - related @throws are no longer returned if one of the duplicates in the throws list is being removed - related @throw tags are not being removed if there is an element in the throws list that can be assigned with the class of the @throws tag Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com> GitOrigin-RevId: e68823093d88427dbbb7efa0cd1171988d1f5360
16 lines
373 B
Java
16 lines
373 B
Java
// "Remove 'IOException' from 'f' throws list" "true"
|
|
|
|
import java.io.FileNotFoundException;
|
|
import java.io.IOException;
|
|
|
|
class A {
|
|
/**
|
|
* @since 2020.3
|
|
* @author me
|
|
* @throws Exception first exception
|
|
* @throws Exception second exception
|
|
* @throws FileNotFoundException file not found
|
|
*/
|
|
void f() throws /* 1 */ Exception /* 2 */ /* 3 */ /* 4 */ {}
|
|
}
|