Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330967 - Core: AbstractSesionLog.shouldLog(level, category):304 does not use category parameter
Summary: Core: AbstractSesionLog.shouldLog(level, category):304 does not use category ...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 325605
  Show dependency tree
 
Reported: 2010-11-23 15:28 EST by Michael OBrien CLA
Modified: 2022-06-09 10:18 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2010-11-23 15:28:29 EST
>AbstractSesionLog.shouldLog(level, category):304 does not use category parameter
The following category parameter has no effect on the function
    public boolean shouldLog(int level, String category) {
        return (this.level <= level) && !isOff();
    }

>either implement a verification on the category and return false if the category is different
or remove the overloaded function
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:14:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:18:49 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink