Before Change
print("These were the bad values")
print(bad_vals)
indices_to_delete = set(indices_to_delete)
X = [row for idx, row in enumerate(X) if idx not in indices_to_delete]
return X, y
After Change
// Remove the output column from the dataset, and store it into the y varaible
y = list(X_df.pop(self.output_column))
print("removed the output column")
// If this is a classifier, try to turn all the y values into proper ints
// Some classifiers play more nicely if you give them category labels as ints rather than strings, so we"ll make our jobs easier here if we can.
if self.type_of_estimator == "classifier":


Toggle navigation
HOME
CHATBOT
(current)
QUEUE FOR SERVICES
VIEW MY TICKET
VIEW QUEUE
FIND NEAREST BRANCH
ABOUT US
Source Gor
Type something to see the output


We Offers The Best Food Delivery In India. Online food ordering is the process of ordering food through the restaurant's own website or mobile app, or through a multi-restaurant's website or app. A customer can choose to have the food delivered or for pick-up.


Unique and Modern Design
Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius, qui sequitur mutationem consuetudium.
3587
Satisfied Clients
207
Cups of coffee
2500
Blog posts
873
Likes
900
We launched
Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium.
September 08, 2015
September 08, 2015
September 08, 2015
Designed by ThemeFire
| Only on Envato Market


class Gem::Validator
Validator performs various gem file and gem database validation
Public Instance Methods
alien(gems=[])
click to toggle source
Checks the gem directory for the following potential inconsistencies/problems:
-
Checksum gem itself
-
For each file in each gem, check consistency of installed versions
-
Check for files that aren't part of the gem but are in the gems directory
-
1 cache - 1 spec - 1 directory.
returns a hash of ErrorData objects, keyed on the problem gem's name.
# File lib/rubygems/validator.rb, line 84 def alien(gems=[]) errors = Hash.new { |h,k| h[k] = {} } Gem::Specification.each do |spec| next unless gems.include? spec.name unless gems.empty? next if spec.default_gem? gem_name = spec.file_name gem_path = spec.cache_file spec_path = spec.spec_file gem_directory = spec.full_gem_path unless File.directory? gem_directory then errors[gem_name][spec.full_name] = "Gem registered but doesn't exist at #{gem_directory}" next end unless File.exist? spec_path then errors[gem_name][spec_path] = "Spec file missing for installed gem" end begin verify_gem_file(gem_path) good, gone, unreadable = nil, nil, nil, nil open gem_path, Gem.binary_mode do |file| package = Gem::Package.new gem_path good, gone = package.contents.partition { |file_name| File.exist? File.join(gem_directory, file_name) } gone.sort.each do |path| errors[gem_name][path] = "Missing file" end good, unreadable = good.partition { |file_name| File.readable? File.join(gem_directory, file_name) } unreadable.sort.each do |path| errors[gem_name][path] = "Unreadable file" end good.each do |entry, data| begin next unless data # HACK `gem check -a mkrf` source = File.join gem_directory, entry['path'] open source, Gem.binary_mode do |f| unless f.read == data then errors[gem_name][entry['path']] = "Modified from original" end end end end end installed_files = find_files_for_gem(gem_directory) extras = installed_files - good - unreadable extras.each do |extra| errors[gem_name][extra] = "Extra file" end rescue Gem::VerificationError => e errors[gem_name][gem_path] = e.message end end errors.each do |name, subhash| errors[name] = subhash.map do |path, msg| ErrorData.new path, msg end.sort end errors end
verify_gem(gem_data)
click to toggle source
Given a gem file's contents, validates against its own MD5 checksum
- gem_data
- String
-
Contents of the gem file
# File lib/rubygems/validator.rb, line 25 def verify_gem(gem_data) # TODO remove me? The code here only validate an MD5SUM that was # in some old formatted gems, but hasn't been for a long time. end
verify_gem_file(gem_path)
click to toggle source
Given the path to a gem file, validates against its own MD5 checksum
- gem_path
- String
-
Path to gem file
# File lib/rubygems/validator.rb, line 35 def verify_gem_file(gem_path) open gem_path, Gem.binary_mode do |file| gem_data = file.read verify_gem gem_data end rescue Errno::ENOENT, Errno::EINVAL raise Gem::VerificationError, "missing gem file #{gem_path}" end
Private Instance Methods
find_files_for_gem(gem_directory)
click to toggle source
# File lib/rubygems/validator.rb, line 46 def find_files_for_gem(gem_directory) installed_files = [] Find.find gem_directory do |file_name| fn = file_name[gem_directory.size..file_name.size-1].sub(/^\//, "") installed_files << fn unless fn =~ /CVS/ || fn.empty? || File.directory?(file_name) end installed_files end


You don't have any templates, press the button below to add one now
{{temp.description}}
Custom Fields:
Platforms available on:


{% extends "layout.html" %} {% block phase%} {% include 'sprint12/partials/phase-banner.html'%} {% endblock %} {% block main %}
Include at least street and town
For example, 31 03 1980


AGONY: I like her, but I'm afraid to tell her
by AdminI really like this girl at work, but I'm not quite sure how to bring up the subject.
Dear Aunt
I really like this girl at work, but I'm not quite sure how to bring up the subject. She always seems interested when I talk to her, but I've heard she has a fiance. What should I do?
Anonymous


THE SHAWSHANK REDEMPTION (R)
Directed by Frank Darabont Running Time: 142 minutes Originally Released: 1994
Reviewed by E. Benjamin Kelsey
* * * * (out of four)
THE SHAWSHANK REDEMPTION is by far one of the very very best, if not THEE best film of the 1990's. It is one of the most rich examples of cinema of recent time and truly lets it be known that "movies" can be forms of art in every sense. This film was the film that was nominated for everything and yet won nothing, a very sad and undeserved disappointment. It was beat out by BRAVEHEART for the Best Picture Oscar in 1995, and to be honest, I would hate to have to decide between the two.
THE SHAWSHANK REDEMPTION is based on a short story by Stephen King, but, before you jump to any conclusions, it does not involve the occult, supernatural, or any ghosts, ghouls, and goblins. It is the story of Andy Dufresne (Tim Robbins best role to date), the successful vice president banker, is on trial for the murder of his wife and her lover. As we quickly learn, she was having a steamy affair with some unknown golf pro, and both were shot to death in bed just minutes after Andy, drunk and carrying a loaded pistol, waited outside the lover's house. With no other suspects and a gun that was never found, Andy is sadly sentenced to two life-sentences for double homicide.
The story is narrated by our other central character of the plot: a black, slightly older prisoner simply known as "Red" (played magnificently by Morgan Freeman). Red seems to be the most sympathetic, mature, and sensible prisoner at Shawshank, the New England prison where we do time along with the inmates. He is also known for being able to smuggle in anything you need (within reason that is). He is a self-proclaimed "Sears & Roebuck", and from the moment Andy arrives, something draws Red to him. Andy seems so peaceful, humble, and even unaware of his dreary surroundings and his dreary reality. Even when he is raped and beaten, he manages to go about every day as though he had no cares in the world.
SHAWSHANK doesn't take long to get you so engrossed in it's characters, that you find it impossible not to care about them and what they're going to do next.  Such character driven movies are always my favorite. They're the kind of movies where most of the plot and intrigue is simply getting to know the characters, making them real and tangible, and as much a part of your life as they can be. SHAWSHANK succeeds where so many others don't.
THE SHAWSHANK REDEMPTION is such a beautifully done picture that it makes it hard to write about. Words like "great", "fantastic", and "wonderful" are so overused and unjustifying for such a masterpiece. But, for the lack of better words, the cinematography IS great, the depth of the story IS fantastic, and the acting, direction, and everything else IS absolutely wonderful. It is a touching film that could (and should) bring a tear to your eye despite it's depressing overtones.
To repeat myself, as I can find no other way to praise this film, THE SHAWSHANK REDEMPTION is truly a masterpiece and one of the best of the best movies of the decade. If you miss this one, you ARE missing out on something spectacular! Morgan Freeman, Tim Robbins, director Frank Darabont, and cinematographer Roger Deakins all deserve the highest acclaims. This IS an instant classic!
November 28, 1997
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


cipher_xs2416
Xiaoqi’s cipher package for homework 07.
Installation
$ pip install cipher_xs2416
Usage
TODO
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
cipher_xs2416
was created by Xiaoqi Sun. It is licensed under the terms of the MIT license.
Credits
cipher_xs2416
was created with cookiecutter
and the py-pkgs-cookiecutter
template.


- Data - Class in capstone.data
-
Base class for all data-managing objects.
- Data() - Constructor for class capstone.data.Data
-
- days() - Method in class capstone.utility.StopWatch
-
- delay() - Method in enum capstone.game.Level.Difficulty
-
- delta() - Method in enum capstone.element.Direction
-
- Delta - Class in capstone.utility
-
A class to model a Delta to a point.
- Delta(int, int) - Constructor for class capstone.utility.Delta
-
Constructs a new Delta given the delta-x and delta-y.
- Delta(Delta) - Constructor for class capstone.utility.Delta
-
Copy-Constructor.
- Delta(Direction) - Constructor for class capstone.utility.Delta
-
Constructs a Delta from a Direction.
- deserialize(Properties) - Method in class capstone.data.Data
-
How to deserialize the data and load the fields of the class.
- deserialize(Properties) - Method in class capstone.data.Highscore
-
Deserializes the highscore object.
- deserialize(Properties) - Method in class capstone.data.Profile
-
Deserializes the Profile from the given Properties.
- deserialize(Properties) - Method in class capstone.data.Theme
-
Deserializes the Theme from the given Properties.
- deserialize(Properties) - Method in class capstone.utility.LevelBuilder
-
Always need the profiles.
- deserialize(Properties, Map<String, Profile>) - Method in class capstone.utility.LevelBuilder
-
Deserializes a Level.
- difficulty() - Method in class capstone.game.Level
-
- difficulty(Level.Difficulty) - Method in class capstone.game.Level
-
Sets the difficulty of the Level.
- Difficulty(int) - Constructor for enum capstone.game.Level.Difficulty
-
- difficulty() - Method in class capstone.ui.DifficultyWidget
-
- difficulty() - Method in class capstone.utility.LevelBuilder
-
- difficulty(Level.Difficulty) - Method in class capstone.utility.LevelBuilder
-
Sets the difficulty of the level.
- DifficultyWidget - Class in capstone.ui
-
A Widget to select the difficulty of a level.
- DifficultyWidget() - Constructor for class capstone.ui.DifficultyWidget
-
Constructs a new DifficultyWidget.
- Dimensions - Class in capstone.utility
-
Dimensions are a pair of integers, one for a width and one for a height.
- Dimensions(int, int) - Constructor for class capstone.utility.Dimensions
-
Constructs a new Dimensions object.
- Dimensions(Dimensions) - Constructor for class capstone.utility.Dimensions
-
Copy-constructor.
- dimensions() - Method in class capstone.utility.PageGrid
-
- direction(InputKey) - Method in class capstone.data.Profile
-
Gets the Direction associated with the given InputKey in the Profile.
- Direction - Enum in capstone.element
-
An enum class describing directions of motion.
- Direction(Delta) - Constructor for enum capstone.element.Direction
-
Constructs the Direction and associates it with the given delta.
- directions() - Method in class capstone.utility.KeyMap
-
- distanceTo(Point) - Method in class capstone.utility.Point
-
Returns the distance to another Point, as a Delta object.
- Down() - Static method in class capstone.utility.Delta
-
Factory-function to create a downward Delta.
- down() - Method in class capstone.utility.KeyMap
-
- down(InputKey) - Method in class capstone.utility.KeyMap
-
Sets the key that maps to the down-direction.
- draw() - Method in class capstone.ui.StatusBar
-
Draws the StatusBar on the level's Screen.
- DynamicObstacle - Class in capstone.element
-
Abstract class for all dynamic-obstacles, i.e.
- DynamicObstacle(Point, Representation) - Constructor for class capstone.element.DynamicObstacle
-
Constructs a new dynamic-obstacle from a Point and an Representation.
- dynamicObstacles() - Method in class capstone.utility.Page
-


Happy Halloween ;)
Company blog
Our story
Follow us on Twitter
System status
Sign in
Making collaboration productive and enjoyable for people every day.
Frustration-free web-based apps for collaboration, sharing information, and making decisions.
Basecamp
®
Manage Projects
Used by millions for project management.
Highrise
®
Manage Contacts
Know the people you do business with.
Campfire
™
Work in Real-Time
Group chat rooms for your business.


Travel and Entertainment Search
Keyword
*
Please enter a key word
Category
Default
Airport
Amusement Park
Aquarium
Art Gallery
Bakery
Bar
Beauty Salon
Bowling Alley
Bus Station
Cafe
Campground
Car Rental
Casino
Lodging
Movie Theater
Museum
Night Club
Park
Parking
Restaurant
Shopping Mall
Stadium
Subway Station
Taxi Stand
Train Station
Transit Station
Travel Agency
Zoo
Distance(miles)
From
*
Current Location
Other.Please specify:
Please enter a location
Search
Clear
Results
Favorites
No record.
Failed to get search results.
Details
#
Category
Name
Address
Favorites
Details
{{$index+1}}
{{entity.name}}
{{entity.vicinity}}
Next
Previous
Details
#
Category
Name
Address
Favorites
Details
{{$index+1}}
{{favor.val.name}}
{{favor.val.vicinity}}
Next
Previous
{{details.name}}
List
Info
Photos
Map
Reviews
Address
{{details.address}}
Phone Number
{{details.phone}}
Price Level
Rating
{{details.rating}}
Google Page
{{details.google_page}}
Website
{{details.website}}
Hours
{{status}} {{curPeriod}}
Daily Open Hours
Open Hour
{{dates[$index]}}
{{period}}
No record.
From
To
Travel Mode
Driving
Bicycling
Transit
Walking

Get Directions
Google Review
Google Review
Yelp Review
Default Order
Default Order
Highest Rating
Lowest Rating
Most Recent
Least Recent
No record.
{{review.author_name }}
{{review.time}}
{{review.text}}
{{review.user.name }}
{{review.time_created}}
{{review.text}}


Need help figuring out which course is for you? Connect with one of our Membership Consultants.
First Name
*
Last Name
*
Email
*
Phone
Trading Experience
*
-None-
Starting to research, totally new
Researching for awhile, have not started trading yet
New trader learning the ropes
Experienced trader- inconsistent or unprofitable
Experienced trader- profitable and looking to get to the next level
Questions? Anything you'd like us to know?
By checking this box
I agree to Warrior Trading's
Privacy Policy and Terms of Service
I agree for Warrior Trading to email me regarding products, services and promotions.
If I have provided a phone number, I hereby consent for a representative from Warrior Trading to call me regarding products, services and promotions.
Lead Status
-None-
New
1st Contact Attempt
2nd Contact Attempt
3rd Contact Attempt
No Contact Established
No Contact Established, over 60 days old
Not Qualified (financial or other non-ability to trade)
Spammer/Troll/Other
Purchased on their own
Lead Source
-None-
Active Campaign
Chat or Sim Upgrade
DT101
Referral
Social Media
Starter Upgrade
Support Inquiry
Webform
Webinar
Secondary Lead Source
-None-
Live Webinar
Auto Webinar
Revelations Series Emails
Renewal Automation Emals
Promotion/Sale Email
Hold My Seat Webform
Warrior Pro Webform
Warrior Starter Webform
Trading Courses Webform
Other Marketing Email


404
Oops! Page not found.
We could not find the page you were looking for. Either the page doesn't exist or you don't have rights to access it.
We could not find the page you were looking for. Either the page doesn't exist or you don't have rights to access it.


A basic project skeleton demonstrating integration of Node.js as the build system, require.js as the module loader, Intern as the test runner, SASS and Bootstrap.
Please enter your name


Canopy
is a secure platform for monitoring, controlling, and sharing physical devices.
New to Canopy?
Sign up for free:
Learn more at
http://canopy.link
My Devices
All
Online
Offline
Signed in as
Logout
Back
Signed in as
Logout
Back
Share Smart Fan
By sharing, you allow the recipient to monitor, control and further share this device.
Permission Settings
What should the recipient be allowed to do with the device?
Access Level
Monitor Only
Monitor and Control
Sharing Rights
Cannot share with others
May share with others
Device owner - can both share and revoke others' access
Signed in as
Logout


-
ENCORE-SPECIFIC: We use Google Fonts,
in particular the Roboto font. While Google Fonts are not included in
the Encore UI package, they are included if you use the encore-ui
template repository as a base.
-
For developers not using encore-ui-template,
read the README.md file for rxApp
on fonts for more information.
Headings/Title Styles
-
Headings are sized according to their heading level (H1 larger
than H2 larger than H3, etc.).
-
ENCORE-SPECIFIC: For design consistency,
we usually use an H3 heading for most subheaders. Other headings can be
used for context.
-
WARNING:
The
title
, xl
, lg
, sm
,
and xs
heading classes are deprecated and will be removed in a
future release of the framework.
Markup Conversion Table
| Legacy Selector |
Current Markup |
.title.xl |
<h1> |
.title.lg |
<h2> |
.title |
<h3> |
.title.sm |
<h4> |
.title.xs |
<h5> |
| N/A |
<h6> |
Descriptions / Metadata
-
The rxMetadata component provides
the ability to display a list of terms with their associated descriptions.
This is used throughout Encore to show metadata, especially on an individual
object such as a server or a CBS volume.
-
ENCORE-SPECIFIC: This is an ideal solution
if you have anywhere from 5-15 definitions (3 columns of 5 definitions).
(See a Server Details page or Image Details page under Accounts -> Cloud
for an example.) Anything more - or anything displaying visual or image
content - and you may want to consider a different design pattern. (See
the "Non-Data based Tables" section in the Table page for more information.)
When There is No Data to Display
-
In table cells, metadata lists, or other displays of data,
N/A
should be used as an indicator to the user that there is no relevant data
to display.
-
Do not use
–
, Empty
, null
, or no
indicator to communicate this, as there may be situations where those are
valid inputs or data to display to a user depending on the context.
-
Note that a separate style exists to communicate
when data isn't present due to permissions ,
or when an entire table is empty (see "Null Patterns" section of
Tables style guide ).
Lists
-
Lists by default do not have styles. Add bullets/decimals to lists
with the
list
class. It is also possible to build
non-semantic lists using the additional item
class.
-
ENCORE-SPECIFIC: Use this in conjunction
with icons, colors and helper classes such as
.flush-right
to build out action menus. Look at the detail pages in Cloud Servers and
view-source for additional context.


 How about a bit of roleplay?
I want you to close your eyes... … and imagine you're a multi-talented but faded music artist wanting to start anew.
You’ve peacefully resigned a few decades ago and made your peace long ago, but every now and then, you wonder what
could’ve been.
You dream of stepping back onto the stage and hear the crowds scream your name.
Aaaaah Aaaaaah.
Just the thought of it fills you with a surge of adrenaline.
And now, after 20 years later, you’ve steeled your resolve and decided that
Yes! I will hide in the shadows no more.
Get ready, world. Here I come.
But first, you gotta research. Good for you, information is now just a few clicks away.
You can hear it now. Those screams are almost within your reach. But you want to be careful.
Don’t want anyone stealing your limelight now, do you?
1. What is the best genre to make a comeback? Considering the reviews of the people, what genre should you specialise in so that you will not flop in your comeback due to fierce competition?
2. What record label produces the best song according to the best genre? If you wish to have a more receptive audience, having the appropriate record label would not hurt. Assuming you plan to sign a record label, which one would suit your needs the most?
3. What month of the year is it best to release a song of the best genre? Since in the music industry, albums and songs are being released every month, what would be the ideal time for you to quickly gain traction despite the oversaturated music industry?


--- author: Joe B categories: app date: '2010-03-12 23:47:10' link: http://blogs.nitobi.com/joe/2010/03/12/curiosity-of-the-day-droidscript/ permalink: /2010/03/12/curiosity-of-the-day-droidscript/ slug: curiosity-of-the-day-droidscript status: publish title: 'Curiosity of the Day: DroidScript' type: post format: html ---
Recently, a blog post came forward from Mikael Kindbord about running Rhino on Android. I was then asked to take a look at it,and it was pretty interesting. He recently released a project called DroidScript, which is actually really interesting. It's an interesting front-end to Rhino, and it has the Javascript using Dalvik Android classes with Javascript so that you can have intents and invoke any method in Javascript that you can in Java. It does produce some pretty verbose code, and while I'm not going to re-structure Android PhoneGap so that it uses this just yet, it's an interesting thought experiment in how many different ways you can write code for Android.
If you're interested in Android and Javascript, I high recommend checking it out.


Number → Number
Returns the absolute value of a number.
(Number)
Number
:
The absolute value of a number
abs(45.95) // => 45.95
abs(-45.95) // => 45.95
Number → Number
Returns the smalest integer greater than or equal to a given number.
(Number)
Number to round
Number
:
Rounded number
ceil(45.95) // => 46
ceil(-45.95) // => -45
((y → Promise z), (x → Promise y), ..., (a → Promise b)) → (a → Promise z)
Performs rigth-to-left composition of one or more Promise-returning functions. The first argument may have any arity; the remaining arguments must be unary.
(...Function)
Functions to compose
Function
:
Functions composition
// Some promise returning functions
// promisedOne :: a → Promise b
// promisedTwo :: a → Promise b
composeP(promisedOne, promisedTwo); // => promisedTwo(__).then(res => promiseOne(res))
Number → Number
Returns the largest integer less than or equal to a given number.
(Number)
Number to round
Number
:
Rounded number
floor(45.95) // => 45
floor(-45.95) // => -46
(*) → Boolean
Checks if the input value is Array. More info at Ramda is.
(any)
The value to test.
Boolean
:
'true' if 'x' is 'Array', otherwise 'false'.
isArray([]) //=> true
isArray({}) //=> false
isArray('lol') //=> false
isArray(5) //=> false
(*) -> Boolean
Checks if the input value is Number. More info at Ramda is.
(any)
The value to test.
Boolean
:
'true' if 'x' is 'Number', otherwise 'false'.
isNumber(5) //=> true
isNumber('lol') //=> false
isNumber({}) //=> false
isNumber([]) //=> false
(*) → Boolean
Checks if the input value is Object. More info at Ramda is.
(any)
The value to test.
Boolean
:
'true' if 'x' is 'Object', otherwise 'false'.
isObject({}) //=> true
isObject('lol') //=> false
isObject(5) //=> false
isObject([]) //=> true
(*) → Boolean
Checks if the input value is String. More info at Ramda is.
(any)
The value to test.
Boolean
:
'true' if 'x' is 'String', otherwise 'false'.
isString('lol') //=> true
isString(5) //=> false
isString({}) //=> false
isString([]) //=> false
Functor f => (a → b → c) → f a → f c
Takes a function and a functor, applies the function to each of the functor's values, and returns a functor of the same shape.
More info at Ramda map and addIndex.
(Function)
The function to be called on every element of the input 'list'.
(Array)
The list to be iterated over.
Array
:
The new list.
mapIndexed((val, idx) => idx + '-' + val, ['f', 'o', 'o', 'b', 'a', 'r'])
//=> ['0-f', '1-o', '2-o', '3-b', '4-a', '5-r']
Functor f => (a → Promise b) → f a → f Promise b
Takes a function and a functor, applies the function to each of the functor's values, and returns a functor of promises of the same shape.
Unlike Ramda map, only Array object can be implemented.
(Array)
The list to be iterated over
Array
:
The list of promises
// A promise returning function
// promised :: a → Promise b
const promised = (x) => Promise.resolve(x + 1);
mapP(promised, [1, 2, 3]) // => [2, 3, 4]
((a → Promise b), (b → Promise c), …, (y → Promise z)) → (a → Promise z)
Performs left-to-right composition of one or more Promise-returning functions. First argument is an error handler. The first argument may have any arity; the remaining arguments must be unary.
(...Function)
Functions to compose
Function
:
Functions composition
// Some promise returning functions
// promisedOne :: a → Promise b
// promisedTwo :: a → Promise b
pipeP(promisedOne, promisedTwo); // => promisedOne(__).then(res => promiseTwo(res))
Number → Number → Number
Raises the first number to the power of the second number.
Number
:
Result of the exponentiation
pow(2, 3) // => 8
pow(5)(2) // => 25
Number → Number
Returns the value of a number rounded to the nearest integer.
(Number)
Number to round
Number
:
Rounded number
round(45.95) // => 46
round(-45.95) // => -46
[Idx] → a → s → s
e.g ([Idx] → Lens s a) → a → s → s
Idx = String | Int
Lens s a = Functor f => (a → f a) → s → f s
Returns the result of "setting" the portion of the given data structure focused by the given lens whose focus is the specified path to the given value.
any
:
The result of "setting"
setOnPath(['x', 0, 'y'], 9, {x: [{y: 2, z: 3}, {y: 4, z: 5}]})
//=> {x: [{y: 9, z: 3}, {y: 4, z: 5}]}
Number → Number
Returns either a positive or negative +/- 1, indicating the sign of a number passed into the argument. If the number passed into Math.sign() is 0, it will return a +/- 0. Note that if the number is positive, an explicit (+) will not be returned.
(Number)
Number
:
Indicator of a number sign
sign(2) // => 1
sign(-3) // => -1
sign(0) // => 0
Number → Number
Returns the integer part of a number by removing any fractional digits.
(Number)
Number
:
trunk(45.95) // => 45
trunk(-45.95) // => -45
[Idx] → s → a
e.g ([Idx] → Lens s a) → s → a
Idx = String | Int
Lens s a = Functor f => (a → f a) → s → f s
Returns a "view" of the given data structure, determined by the given lens whose focus is the specified path.
(Array)
The path to use.
(any)
Object
any
:
A "view" of the given data structure
viewOnPath(['x', 0, 'y'], {x: [{y: 2, z: 3}, {y: 4, z: 5}]})
//=> 2


Comments
-
Greg Hurrell
Can you provide a more detailed description?
https://wincent.com/a/knowledge-base/archives/2004/11/how_to_file_a_g.php
Without more information I can't even begin to investigate the issue.
-
Michael Shuffett
When i first turn on my computer the floater is in the correct location but when a song with a longer or shorter title is played instead of resizing around the anchor the floater goes partly off screen
-
Greg Hurrell
Where do you have the Floater located? In what direction does it go off the screen? Does the problem go away when a title of a different length comes up later on? Are there any differences between the behaviour with "longer" titles and that with "shorter" titles? What kind of resizing behaviour were you expecting to see?
Do you have multiple displays? Do you have automatic Dock hiding turned on? Can you provide screenshots of "before" and "after"? Was the problem present in prior versions of Synergy? What version of Mac OS X are you running? On what hardware? Have you tried to reproduce the problem while running under another account?
Based on the information you've provided so far, I can't reproduce the problem and I am not sure exactly what the behaviour is that you're trying to describe.
-
Greg Hurrell
Changing assignment to reflect my new email address.
https://wincent.com/a/news/archives/2006/05/change_of_email.php
Add a comment
Comments are now closed for this issue.


Project Information
Project:
FindBugs version: 2.0.2
Code analyzed:
- C:\cygwin\home\User\src\find\spring-core-3.2.4.RELEASE.jar
Metrics
27468 lines of code analyzed,
in 643 classes,
in 32 packages.
| High Priority Warnings |
12 |
0.44 |
| Medium Priority Warnings |
100 |
3.64 |
|
Total Warnings
|
112
|
4.08
|
(* Defects per Thousand lines of non-commenting source statements)
Contents
Summary
Warnings
Click on a warning row to see full context information.
|
BC
|
Equals method for org.springframework.cglib.reflect.MethodDelegate assumes the argument is of type MethodDelegate |
|
Bug type BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS (click for details)
In class org.springframework.cglib.reflect.MethodDelegate In method org.springframework.cglib.reflect.MethodDelegate.equals(Object) At MethodDelegate.java:[line 135]
|
|
ES
|
Comparison of String objects using == or != in org.springframework.asm.ClassReader.accept(ClassVisitor, Attribute[], int) |
|
Bug type ES_COMPARING_STRINGS_WITH_EQ (click for details)
In class org.springframework.asm.ClassReader In method org.springframework.asm.ClassReader.accept(ClassVisitor, Attribute[], int) Actual type String Value loaded from field org.springframework.asm.MethodWriter.g Value loaded from ? In <Unknown>
|
|
NP
|
org.springframework.cglib.reflect.MethodDelegate.equals(Object) does not check for null argument |
|
Bug type NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT (click for details)
In class org.springframework.cglib.reflect.MethodDelegate In method org.springframework.cglib.reflect.MethodDelegate.equals(Object) Local variable named obj At MethodDelegate.java:[lines 135-136]
|
|
NP
|
org.springframework.core.convert.support.StringToBooleanConverter.convert(String) has Boolean return type and returns explicit null |
|
Bug type NP_BOOLEAN_RETURN_NULL (click for details)
In class org.springframework.core.convert.support.StringToBooleanConverter In method org.springframework.core.convert.support.StringToBooleanConverter.convert(String) At StringToBooleanConverter.java:[line 52]
|
|
NP
|
org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter.matchInterface(String) has Boolean return type and returns explicit null |
|
Bug type NP_BOOLEAN_RETURN_NULL (click for details)
In class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter In method org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter.matchInterface(String) At AbstractTypeHierarchyTraversingFilter.java:[line 135]
|
|
NP
|
org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter.matchSuperClass(String) has Boolean return type and returns explicit null |
|
Bug type NP_BOOLEAN_RETURN_NULL (click for details)
In class org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter In method org.springframework.core.type.filter.AbstractTypeHierarchyTraversingFilter.matchSuperClass(String) At AbstractTypeHierarchyTraversingFilter.java:[line 128]
|
|
NP
|
org.springframework.core.type.filter.AnnotationTypeFilter.matchSuperClass(String) has Boolean return type and returns explicit null |
|
Bug type NP_BOOLEAN_RETURN_NULL (click for details)
In class org.springframework.core.type.filter.AnnotationTypeFilter In method org.springframework.core.type.filter.AnnotationTypeFilter.matchSuperClass(String) At AnnotationTypeFilter.java:[line 99]
|
|
NP
|
org.springframework.core.type.filter.AssignableTypeFilter.matchTargetType(String) has Boolean return type and returns explicit null |
|
Bug type NP_BOOLEAN_RETURN_NULL (click for details)
In class org.springframework.core.type.filter.AssignableTypeFilter In method org.springframework.core.type.filter.AssignableTypeFilter.matchTargetType(String) At AssignableTypeFilter.java:[line 73]
|
|
OS
|
org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource, String) may fail to close stream |
|
Bug type OS_OPEN_STREAM (click for details)
In class org.springframework.core.io.support.PathMatchingResourcePatternResolver In method org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(Resource, String) Need to close java.util.zip.ZipFile At PathMatchingResourcePatternResolver.java:[line 455]
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.AnalyzerAdapter.execute(int, int, String) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.AnalyzerAdapter In method org.springframework.asm.commons.AnalyzerAdapter.execute(int, int, String) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.DOUBLE In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.AnalyzerAdapter.execute(int, int, String) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.AnalyzerAdapter In method org.springframework.asm.commons.AnalyzerAdapter.execute(int, int, String) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.LONG In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.AnalyzerAdapter.visitFrameTypes(int, Object[], List) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.AnalyzerAdapter In method org.springframework.asm.commons.AnalyzerAdapter.visitFrameTypes(int, Object[], List) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.DOUBLE In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.AnalyzerAdapter.visitFrameTypes(int, Object[], List) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.AnalyzerAdapter In method org.springframework.asm.commons.AnalyzerAdapter.visitFrameTypes(int, Object[], List) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.LONG In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.AnalyzerAdapter.visitMethodInsn(int, String, String, String) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.AnalyzerAdapter In method org.springframework.asm.commons.AnalyzerAdapter.visitMethodInsn(int, String, String, String) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.UNINITIALIZED_THIS In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.LocalVariablesSorter In method org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.DOUBLE In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.LocalVariablesSorter In method org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.FLOAT In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.LocalVariablesSorter In method org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.INTEGER In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.LocalVariablesSorter In method org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.LONG In <Unknown>
|
|
RC
|
Suspicious comparison of a Integer reference to constant in org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) |
|
Bug type RC_REF_COMPARISON_BAD_PRACTICE (click for details)
In class org.springframework.asm.commons.LocalVariablesSorter In method org.springframework.asm.commons.LocalVariablesSorter.visitFrame(int, int, Object[], int, Object[]) Actual type Integer Value loaded from field org.springframework.asm.Opcodes.TOP In <Unknown>
|
|
RV
|
exceptional return value of java.io.File.mkdirs() ignored in org.springframework.cglib.core.DebuggingClassWriter$1.run() |
|
Bug type RV_RETURN_VALUE_IGNORED_BAD_PRACTICE (click for details)
In class org.springframework.cglib.core.DebuggingClassWriter$1 In method org.springframework.cglib.core.DebuggingClassWriter$1.run() Called method java.io.File.mkdirs() At DebuggingClassWriter.java:[line 82]
|
|
RV
|
exceptional return value of java.io.File.delete() ignored in org.springframework.cglib.transform.AbstractTransformTask.processJarFile(File) |
|
Bug type RV_RETURN_VALUE_IGNORED_BAD_PRACTICE (click for details)
In class org.springframework.cglib.transform.AbstractTransformTask In method org.springframework.cglib.transform.AbstractTransformTask.processJarFile(File) Called method java.io.File.delete() At AbstractTransformTask.java:[line 209]
|
|
RV
|
exceptional return value of java.io.File.mkdir() ignored in org.springframework.util.FileSystemUtils.doCopyRecursively(File, File) |
|
Bug type RV_RETURN_VALUE_IGNORED_BAD_PRACTICE (click for details)
In class org.springframework.util.FileSystemUtils In method org.springframework.util.FileSystemUtils.doCopyRecursively(File, File) Called method java.io.File.mkdir() At FileSystemUtils.java:[line 75]
|
|
Se
|
Class org.springframework.cglib.proxy.Proxy defines non-transient non-serializable instance field h |
|
Bug type SE_BAD_FIELD (click for details)
In class org.springframework.cglib.proxy.Proxy Field org.springframework.cglib.proxy.Proxy.h Actual type org.springframework.cglib.proxy.InvocationHandler In Proxy.java
|
|
Se
|
Class org.springframework.core.convert.TypeDescriptor defines non-transient non-serializable instance field annotations |
|
Bug type SE_BAD_FIELD (click for details)
In class org.springframework.core.convert.TypeDescriptor Field org.springframework.core.convert.TypeDescriptor.annotations Actual type annotation.Annotation In TypeDescriptor.java
|
|
Se
|
org.springframework.core.ExceptionDepthComparator implements Comparator but not Serializable |
|
Bug type SE_COMPARATOR_SHOULD_BE_SERIALIZABLE (click for details)
In class org.springframework.core.ExceptionDepthComparator At ExceptionDepthComparator.java:[lines 34-93]
|
|
Se
|
Class org.springframework.core.task.SimpleAsyncTaskExecutor defines non-transient non-serializable instance field threadFactory |
|
Bug type SE_BAD_FIELD (click for details)
In class org.springframework.core.task.SimpleAsyncTaskExecutor Field org.springframework.core.task.SimpleAsyncTaskExecutor.threadFactory Actual type java.util.concurrent.ThreadFactory In SimpleAsyncTaskExecutor.java
|
|
Se
|
org.springframework.util.AntPathMatcher$AntPatternComparator implements Comparator but not Serializable |
|
Bug type SE_COMPARATOR_SHOULD_BE_SERIALIZABLE (click for details)
In class org.springframework.util.AntPathMatcher$AntPatternComparator At AntPathMatcher.java:[lines 395-473]
|
|
Se
|
org.springframework.util.comparator.InstanceComparator implements Comparator but not Serializable |
|
Bug type SE_COMPARATOR_SHOULD_BE_SERIALIZABLE (click for details)
In class org.springframework.util.comparator.InstanceComparator At InstanceComparator.java:[lines 49-69]
|
|
Se
|
Class org.springframework.util.CustomizableThreadCreator defines non-transient non-serializable instance field threadGroup |
|
Bug type SE_BAD_FIELD (click for details)
In class org.springframework.util.CustomizableThreadCreator Field org.springframework.util.CustomizableThreadCreator.threadGroup Actual type ThreadGroup In CustomizableThreadCreator.java
|
|
SnVI
|
org.springframework.cglib.proxy.Proxy is Serializable; consider declaring a serialVersionUID |
|
Bug type SE_NO_SERIALVERSIONID (click for details)
In class org.springframework.cglib.proxy.Proxy At Proxy.java:[lines 41-98]
|
|
NP
|
Possible null pointer dereference of value in org.springframework.cglib.beans.BeanMap.containsValue(Object) |
|
Bug type NP_NULL_ON_SOME_PATH (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.containsValue(Object) Value loaded from value Dereferenced at BeanMap.java:[line 219] Known null at BeanMap.java:[line 219]
|
|
NP
|
Possible null pointer dereference of actualMethod in org.springframework.cglib.proxy.Enhancer.emitMethods(ClassEmitter, List, List) |
|
Bug type NP_NULL_ON_SOME_PATH (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.emitMethods(ClassEmitter, List, List) Value loaded from actualMethod Dereferenced at Enhancer.java:[line 901] Known null at Enhancer.java:[line 891]
|
|
NP
|
Null passed for nonnull parameter of CallbackInfo.determineTypes(Class[]) in org.springframework.cglib.proxy.Enhancer.setCallbackTypes(Class[]) |
|
Bug type NP_NULL_PARAM_DEREF (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.setCallbackTypes(Class[]) Called method org.springframework.cglib.proxy.CallbackInfo.determineTypes(Class[]) Argument 1 might be null but must not be null Value loaded from callbackTypes Method invoked at Enhancer.java:[line 273] Known null at Enhancer.java:[line 270]
|
|
RpC
|
Repeated conditional test in org.springframework.util.ConcurrentReferenceHashMap.calculateShift(int, int) |
|
Bug type RpC_REPEATED_CONDITIONAL_TEST (click for details)
In class org.springframework.util.ConcurrentReferenceHashMap In method org.springframework.util.ConcurrentReferenceHashMap.calculateShift(int, int) At ConcurrentReferenceHashMap.java:[line 370] At ConcurrentReferenceHashMap.java:[line 370]
|
|
RV
|
Check to see if return value of java.util.Comparator.compare(Object, Object) is equal to 0x80000000 |
|
Bug type RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE (click for details)
In class org.springframework.util.comparator.InvertibleComparator In method org.springframework.util.comparator.InvertibleComparator.compare(Object, Object) Called method java.util.Comparator.compare(Object, Object) Value 0x80000000 At InvertibleComparator.java:[line 92]
|
|
UMAC
|
Uncallable method org.springframework.cglib.core.ReflectUtils$3.getAttribute() defined in anonymous class |
|
Bug type UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS (click for details)
In class org.springframework.cglib.core.ReflectUtils$3 In method org.springframework.cglib.core.ReflectUtils$3.getAttribute() superclass is org.springframework.cglib.core.MethodInfo At ReflectUtils.java:[line 418]
|
|
Dm
|
Found reliance on default encoding in org.springframework.cglib.core.DebuggingClassWriter$1.run(): new java.io.OutputStreamWriter(OutputStream) |
|
Bug type DM_DEFAULT_ENCODING (click for details)
In class org.springframework.cglib.core.DebuggingClassWriter$1 In method org.springframework.cglib.core.DebuggingClassWriter$1.run() Called method new java.io.OutputStreamWriter(OutputStream) At DebuggingClassWriter.java:[line 97]
|
|
Dm
|
Found reliance on default encoding in org.springframework.core.io.support.EncodedResource.getReader(): new java.io.InputStreamReader(InputStream) |
|
Bug type DM_DEFAULT_ENCODING (click for details)
In class org.springframework.core.io.support.EncodedResource In method org.springframework.core.io.support.EncodedResource.getReader() Called method new java.io.InputStreamReader(InputStream) At EncodedResource.java:[line 132]
|
|
Dm
|
Found reliance on default encoding in org.springframework.util.xml.XmlValidationModeDetector.detectValidationMode(InputStream): new java.io.InputStreamReader(InputStream) |
|
Bug type DM_DEFAULT_ENCODING (click for details)
In class org.springframework.util.xml.XmlValidationModeDetector In method org.springframework.util.xml.XmlValidationModeDetector.detectValidationMode(InputStream) Called method new java.io.InputStreamReader(InputStream) At XmlValidationModeDetector.java:[line 91]
|
|
EI
|
org.springframework.core.convert.TypeDescriptor.getAnnotations() may expose internal representation by returning TypeDescriptor.annotations |
|
Bug type EI_EXPOSE_REP (click for details)
In class org.springframework.core.convert.TypeDescriptor In method org.springframework.core.convert.TypeDescriptor.getAnnotations() Field org.springframework.core.convert.TypeDescriptor.annotations At TypeDescriptor.java:[line 346]
|
|
EI
|
org.springframework.core.io.ByteArrayResource.getByteArray() may expose internal representation by returning ByteArrayResource.byteArray |
|
Bug type EI_EXPOSE_REP (click for details)
In class org.springframework.core.io.ByteArrayResource In method org.springframework.core.io.ByteArrayResource.getByteArray() Field org.springframework.core.io.ByteArrayResource.byteArray At ByteArrayResource.java:[line 71]
|
|
EI
|
org.springframework.core.MethodParameter.getParameterAnnotations() may expose internal representation by returning MethodParameter.parameterAnnotations |
|
Bug type EI_EXPOSE_REP (click for details)
In class org.springframework.core.MethodParameter In method org.springframework.core.MethodParameter.getParameterAnnotations() Field org.springframework.core.MethodParameter.parameterAnnotations At MethodParameter.java:[line 290]
|
|
EI2
|
new org.springframework.asm.ClassReader(byte[], int, int) may expose internal representation by storing an externally mutable object into ClassReader.b |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.asm.ClassReader In method new org.springframework.asm.ClassReader(byte[], int, int) Field org.springframework.asm.ClassReader.b Local variable stored in JVM register 1 In <Unknown>
|
|
EI2
|
org.springframework.asm.commons.SerialVersionUIDAdder.visit(int, int, String, String, String, String[]) may expose internal representation by storing an externally mutable object into SerialVersionUIDAdder.interfaces |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.asm.commons.SerialVersionUIDAdder In method org.springframework.asm.commons.SerialVersionUIDAdder.visit(int, int, String, String, String, String[]) Field org.springframework.asm.commons.SerialVersionUIDAdder.interfaces Local variable stored in JVM register 6 In <Unknown>
|
|
EI2
|
org.springframework.cglib.beans.BulkBean$Generator.setGetters(String[]) may expose internal representation by storing an externally mutable object into BulkBean$Generator.getters |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.beans.BulkBean$Generator In method org.springframework.cglib.beans.BulkBean$Generator.setGetters(String[]) Field org.springframework.cglib.beans.BulkBean$Generator.getters Local variable named getters At BulkBean.java:[line 89]
|
|
EI2
|
org.springframework.cglib.beans.BulkBean$Generator.setSetters(String[]) may expose internal representation by storing an externally mutable object into BulkBean$Generator.setters |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.beans.BulkBean$Generator In method org.springframework.cglib.beans.BulkBean$Generator.setSetters(String[]) Field org.springframework.cglib.beans.BulkBean$Generator.setters Local variable named setters At BulkBean.java:[line 93]
|
|
EI2
|
org.springframework.cglib.beans.BulkBean$Generator.setTypes(Class[]) may expose internal representation by storing an externally mutable object into BulkBean$Generator.types |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.beans.BulkBean$Generator In method org.springframework.cglib.beans.BulkBean$Generator.setTypes(Class[]) Field org.springframework.cglib.beans.BulkBean$Generator.types Local variable named types At BulkBean.java:[line 97]
|
|
EI2
|
org.springframework.cglib.proxy.Enhancer.create(Class[], Object[]) may expose internal representation by storing an externally mutable object into Enhancer.argumentTypes |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.create(Class[], Object[]) Field org.springframework.cglib.proxy.Enhancer.argumentTypes Local variable named argumentTypes At Enhancer.java:[line 302]
|
|
EI2
|
org.springframework.cglib.proxy.Enhancer.create(Class[], Object[]) may expose internal representation by storing an externally mutable object into Enhancer.arguments |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.create(Class[], Object[]) Field org.springframework.cglib.proxy.Enhancer.arguments Local variable named arguments At Enhancer.java:[line 303]
|
|
EI2
|
org.springframework.cglib.proxy.Enhancer.setCallbacks(Callback[]) may expose internal representation by storing an externally mutable object into Enhancer.callbacks |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.setCallbacks(Callback[]) Field org.springframework.cglib.proxy.Enhancer.callbacks Local variable named callbacks At Enhancer.java:[line 222]
|
|
EI2
|
org.springframework.cglib.proxy.Enhancer.setInterfaces(Class[]) may expose internal representation by storing an externally mutable object into Enhancer.interfaces |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.setInterfaces(Class[]) Field org.springframework.cglib.proxy.Enhancer.interfaces Local variable named interfaces At Enhancer.java:[line 183]
|
|
EI2
|
org.springframework.cglib.proxy.Mixin$Generator.setClasses(Class[]) may expose internal representation by storing an externally mutable object into Mixin$Generator.classes |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Mixin$Generator In method org.springframework.cglib.proxy.Mixin$Generator.setClasses(Class[]) Field org.springframework.cglib.proxy.Mixin$Generator.classes Local variable named classes At Mixin.java:[line 124]
|
|
EI2
|
org.springframework.cglib.proxy.Mixin$Generator.setDelegates(Object[]) may expose internal representation by storing an externally mutable object into Mixin$Generator.delegates |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.proxy.Mixin$Generator In method org.springframework.cglib.proxy.Mixin$Generator.setDelegates(Object[]) Field org.springframework.cglib.proxy.Mixin$Generator.delegates Local variable named delegates At Mixin.java:[line 128]
|
|
EI2
|
new org.springframework.cglib.transform.impl.AddDelegateTransformer(Class[], Class) may expose internal representation by storing an externally mutable object into AddDelegateTransformer.delegateIf |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.transform.impl.AddDelegateTransformer In method new org.springframework.cglib.transform.impl.AddDelegateTransformer(Class[], Class) Field org.springframework.cglib.transform.impl.AddDelegateTransformer.delegateIf Local variable named delegateIf At AddDelegateTransformer.java:[line 41]
|
|
EI2
|
new org.springframework.cglib.transform.impl.AddPropertyTransformer(String[], Type[]) may expose internal representation by storing an externally mutable object into AddPropertyTransformer.names |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.transform.impl.AddPropertyTransformer In method new org.springframework.cglib.transform.impl.AddPropertyTransformer(String[], Type[]) Field org.springframework.cglib.transform.impl.AddPropertyTransformer.names Local variable named names At AddPropertyTransformer.java:[line 37]
|
|
EI2
|
new org.springframework.cglib.transform.impl.AddPropertyTransformer(String[], Type[]) may expose internal representation by storing an externally mutable object into AddPropertyTransformer.types |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.transform.impl.AddPropertyTransformer In method new org.springframework.cglib.transform.impl.AddPropertyTransformer(String[], Type[]) Field org.springframework.cglib.transform.impl.AddPropertyTransformer.types Local variable named types At AddPropertyTransformer.java:[line 38]
|
|
EI2
|
org.springframework.cglib.util.ParallelSorter$Generator.setArrays(Object[]) may expose internal representation by storing an externally mutable object into ParallelSorter$Generator.arrays |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.util.ParallelSorter$Generator In method org.springframework.cglib.util.ParallelSorter$Generator.setArrays(Object[]) Field org.springframework.cglib.util.ParallelSorter$Generator.arrays Local variable named arrays At ParallelSorter.java:[line 267]
|
|
EI2
|
org.springframework.cglib.util.StringSwitcher$Generator.setInts(int[]) may expose internal representation by storing an externally mutable object into StringSwitcher$Generator.ints |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.util.StringSwitcher$Generator In method org.springframework.cglib.util.StringSwitcher$Generator.setInts(int[]) Field org.springframework.cglib.util.StringSwitcher$Generator.ints Local variable named ints At StringSwitcher.java:[line 94]
|
|
EI2
|
org.springframework.cglib.util.StringSwitcher$Generator.setStrings(String[]) may expose internal representation by storing an externally mutable object into StringSwitcher$Generator.strings |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.cglib.util.StringSwitcher$Generator In method org.springframework.cglib.util.StringSwitcher$Generator.setStrings(String[]) Field org.springframework.cglib.util.StringSwitcher$Generator.strings Local variable named strings At StringSwitcher.java:[line 85]
|
|
EI2
|
new org.springframework.core.io.ByteArrayResource(byte[], String) may expose internal representation by storing an externally mutable object into ByteArrayResource.byteArray |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.core.io.ByteArrayResource In method new org.springframework.core.io.ByteArrayResource(byte[], String) Field org.springframework.core.io.ByteArrayResource.byteArray Local variable named byteArray At ByteArrayResource.java:[line 63]
|
|
EI2
|
org.springframework.core.io.support.PropertiesLoaderSupport.setLocations(Resource[]) may expose internal representation by storing an externally mutable object into PropertiesLoaderSupport.locations |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.core.io.support.PropertiesLoaderSupport In method org.springframework.core.io.support.PropertiesLoaderSupport.setLocations(Resource[]) Field org.springframework.core.io.support.PropertiesLoaderSupport.locations Local variable named locations At PropertiesLoaderSupport.java:[line 92]
|
|
EI2
|
org.springframework.core.io.support.PropertiesLoaderSupport.setPropertiesArray(Properties[]) may expose internal representation by storing an externally mutable object into PropertiesLoaderSupport.localProperties |
|
Bug type EI_EXPOSE_REP2 (click for details)
In class org.springframework.core.io.support.PropertiesLoaderSupport In method org.springframework.core.io.support.PropertiesLoaderSupport.setPropertiesArray(Properties[]) Field org.springframework.core.io.support.PropertiesLoaderSupport.localProperties Local variable named propertiesArray At PropertiesLoaderSupport.java:[line 70]
|
|
MS
|
org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_VISIT isn't final but should be |
|
Bug type MS_SHOULD_BE_FINAL (click for details)
In class org.springframework.core.io.VfsUtils Field org.springframework.core.io.VfsUtils.VIRTUAL_FILE_METHOD_VISIT At VfsUtils.java:[line 143]
|
|
MS
|
org.springframework.core.io.VfsUtils.VIRTUAL_FILE_VISITOR_INTERFACE isn't final but should be |
|
Bug type MS_SHOULD_BE_FINAL (click for details)
In class org.springframework.core.io.VfsUtils Field org.springframework.core.io.VfsUtils.VIRTUAL_FILE_VISITOR_INTERFACE At VfsUtils.java:[line 142]
|
|
MS
|
org.springframework.core.OverridingClassLoader.DEFAULT_EXCLUDED_PACKAGES should be package protected |
|
Bug type MS_PKGPROTECT (click for details)
In class org.springframework.core.OverridingClassLoader Field org.springframework.core.OverridingClassLoader.DEFAULT_EXCLUDED_PACKAGES At OverridingClassLoader.java:[line 39]
|
|
MS
|
org.springframework.util.ReflectionUtils.COPYABLE_FIELDS isn't final but should be |
|
Bug type MS_SHOULD_BE_FINAL (click for details)
In class org.springframework.util.ReflectionUtils Field org.springframework.util.ReflectionUtils.COPYABLE_FIELDS At ReflectionUtils.java:[line 664]
|
|
JLM
|
Synchronization performed on java.util.concurrent.ConcurrentHashMap in org.springframework.core.SimpleAliasRegistry.getAliases(String) |
|
Bug type JLM_JSR166_UTILCONCURRENT_MONITORENTER (click for details)
In class org.springframework.core.SimpleAliasRegistry In method org.springframework.core.SimpleAliasRegistry.getAliases(String) Type java.util.concurrent.ConcurrentHashMap Value loaded from field org.springframework.core.SimpleAliasRegistry.aliasMap At SimpleAliasRegistry.java:[line 84]
|
|
JLM
|
Synchronization performed on java.util.concurrent.ConcurrentHashMap in org.springframework.core.SimpleAliasRegistry.resolveAliases(StringValueResolver) |
|
Bug type JLM_JSR166_UTILCONCURRENT_MONITORENTER (click for details)
In class org.springframework.core.SimpleAliasRegistry In method org.springframework.core.SimpleAliasRegistry.resolveAliases(StringValueResolver) Type java.util.concurrent.ConcurrentHashMap Value loaded from field org.springframework.core.SimpleAliasRegistry.aliasMap At SimpleAliasRegistry.java:[line 115]
|
|
Bx
|
new org.springframework.core.enums.LetterCodedLabeledEnum(char, String) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.enums.LetterCodedLabeledEnum In method new org.springframework.core.enums.LetterCodedLabeledEnum(char, String) Called method new Character(char) Should call Character.valueOf(char) instead At LetterCodedLabeledEnum.java:[line 51]
|
|
Bx
|
new org.springframework.core.enums.ShortCodedLabeledEnum(int, String) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.enums.ShortCodedLabeledEnum In method new org.springframework.core.enums.ShortCodedLabeledEnum(int, String) Called method new Short(short) Should call Short.valueOf(short) instead At ShortCodedLabeledEnum.java:[line 48]
|
|
Bx
|
new org.springframework.core.enums.StaticLabeledEnum(int, String) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.enums.StaticLabeledEnum In method new org.springframework.core.enums.StaticLabeledEnum(int, String) Called method new Short(short) Should call Short.valueOf(short) instead At StaticLabeledEnum.java:[line 67]
|
|
Bx
|
org.springframework.core.style.ToStringCreator.append(String, byte) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.style.ToStringCreator In method org.springframework.core.style.ToStringCreator.append(String, byte) Called method new Byte(byte) Should call Byte.valueOf(byte) instead At ToStringCreator.java:[line 85]
|
|
Bx
|
org.springframework.core.style.ToStringCreator.append(String, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.style.ToStringCreator In method org.springframework.core.style.ToStringCreator.append(String, int) Called method new Integer(int) Should call Integer.valueOf(int) instead At ToStringCreator.java:[line 105]
|
|
Bx
|
org.springframework.core.style.ToStringCreator.append(String, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.style.ToStringCreator In method org.springframework.core.style.ToStringCreator.append(String, long) Called method new Long(long) Should call Long.valueOf(long) instead At ToStringCreator.java:[line 115]
|
|
Bx
|
org.springframework.core.style.ToStringCreator.append(String, short) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.core.style.ToStringCreator In method org.springframework.core.style.ToStringCreator.append(String, short) Called method new Short(short) Should call Short.valueOf(short) instead At ToStringCreator.java:[line 95]
|
|
Bx
|
org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.util.NumberUtils In method org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) Called method new Byte(byte) Should call Byte.valueOf(byte) instead At NumberUtils.java:[line 67]
|
|
Bx
|
org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.util.NumberUtils In method org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) Called method new Integer(int) Should call Integer.valueOf(int) instead At NumberUtils.java:[line 81]
|
|
Bx
|
org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.util.NumberUtils In method org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) Called method new Long(long) Should call Long.valueOf(long) instead At NumberUtils.java:[line 84]
|
|
Bx
|
org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead |
|
Bug type DM_NUMBER_CTOR (click for details)
In class org.springframework.util.NumberUtils In method org.springframework.util.NumberUtils.convertNumberToTargetClass(Number, Class) Called method new Short(short) Should call Short.valueOf(short) instead At NumberUtils.java:[line 74]
|
|
Dm
|
invocation of java.net.URL.equals(Object), which blocks to do domain name resolution, in org.springframework.core.io.UrlResource.equals(Object) |
|
Bug type DMI_BLOCKING_METHODS_ON_URL (click for details)
In class org.springframework.core.io.UrlResource In method org.springframework.core.io.UrlResource.equals(Object) Called method java.net.URL.equals(Object) At UrlResource.java:[line 251]
|
|
Dm
|
invocation of java.net.URL.hashCode(), which blocks to do domain name resolution, in org.springframework.core.io.UrlResource.hashCode() |
|
Bug type DMI_BLOCKING_METHODS_ON_URL (click for details)
In class org.springframework.core.io.UrlResource In method org.springframework.core.io.UrlResource.hashCode() Called method java.net.URL.hashCode() At UrlResource.java:[line 260]
|
|
SIC
|
Should org.springframework.core.convert.support.StringToEnumConverterFactory$StringToEnum be a _static_ inner class? |
|
Bug type SIC_INNER_SHOULD_BE_STATIC (click for details)
In class org.springframework.core.convert.support.StringToEnumConverterFactory$StringToEnum At StringToEnumConverterFactory.java:[lines 42-55]
|
|
WMI
|
org.springframework.cglib.beans.BeanGenerator.addProperties(BeanGenerator, Map) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanGenerator In method org.springframework.cglib.beans.BeanGenerator.addProperties(BeanGenerator, Map) At BeanGenerator.java:[line 131]
|
|
WMI
|
org.springframework.cglib.beans.BeanMap.entrySet() makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.entrySet() At BeanMap.java:[line 282]
|
|
WMI
|
org.springframework.cglib.beans.BeanMap.equals(Object) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.equals(Object) At BeanMap.java:[line 257]
|
|
WMI
|
org.springframework.cglib.beans.BeanMap.hashCode() makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.hashCode() At BeanMap.java:[line 270]
|
|
WMI
|
org.springframework.cglib.beans.BeanMap.putAll(Map) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.putAll(Map) At BeanMap.java:[line 240]
|
|
WMI
|
org.springframework.cglib.beans.BeanMap.toString() makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.beans.BeanMap In method org.springframework.cglib.beans.BeanMap.toString() At BeanMap.java:[line 307]
|
|
WMI
|
org.springframework.cglib.core.CollectionUtils.reverse(Map, Map) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.core.CollectionUtils In method org.springframework.cglib.core.CollectionUtils.reverse(Map, Map) At CollectionUtils.java:[line 45]
|
|
WMI
|
org.springframework.cglib.proxy.MethodInterceptorGenerator.generateStatic(CodeEmitter, CallbackGenerator$Context, List) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.proxy.MethodInterceptorGenerator In method org.springframework.cglib.proxy.MethodInterceptorGenerator.generateStatic(CodeEmitter, CallbackGenerator$Context, List) At MethodInterceptorGenerator.java:[line 174]
|
|
WMI
|
new org.springframework.cglib.proxy.Mixin$Route(Object[]) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.cglib.proxy.Mixin$Route In method new org.springframework.cglib.proxy.Mixin$Route(Object[]) At Mixin.java:[line 232]
|
|
WMI
|
org.springframework.core.SimpleAliasRegistry.resolveAliases(StringValueResolver) makes inefficient use of keySet iterator instead of entrySet iterator |
|
Bug type WMI_WRONG_MAP_ITERATOR (click for details)
In class org.springframework.core.SimpleAliasRegistry In method org.springframework.core.SimpleAliasRegistry.resolveAliases(StringValueResolver) At SimpleAliasRegistry.java:[line 118]
|
|
DLS
|
Dead store to state in org.springframework.cglib.proxy.Enhancer.emitMethods(ClassEmitter, List, List) |
|
Bug type DLS_DEAD_LOCAL_STORE (click for details)
In class org.springframework.cglib.proxy.Enhancer In method org.springframework.cglib.proxy.Enhancer.emitMethods(ClassEmitter, List, List) Local variable named state At Enhancer.java:[line 920]
|
|
Eq
|
org.springframework.core.io.ClassRelativeResourceLoader$ClassRelativeContextResource doesn't override ClassPathResource.equals(Object) |
|
Bug type EQ_DOESNT_OVERRIDE_EQUALS (click for details)
In class org.springframework.core.io.ClassRelativeResourceLoader$ClassRelativeContextResource Did you intend to override org.springframework.core.io.ClassPathResource.equals(Object) At ClassPathResource.java:[lines 226-235]
|
|
RCN
|
Redundant nullcheck of str, which is known to be non-null in org.springframework.util.ObjectUtils.nullSafeToString(Object) |
|
Bug type RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE (click for details)
In class org.springframework.util.ObjectUtils In method org.springframework.util.ObjectUtils.nullSafeToString(Object) Value loaded from str Return value of Object.toString() Redundant null check at ObjectUtils.java:[line 611]
|
|
REC
|
Exception is caught when Exception is not thrown in org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor.convertClassValues(AnnotationAttributes, boolean) |
|
Bug type REC_CATCH_EXCEPTION (click for details)
In class org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor In method org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor.convertClassValues(AnnotationAttributes, boolean) At AnnotationMetadataReadingVisitor.java:[line 157]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.CodeEmitter.if_cmp(Type, int, Label) where one case falls through to the next case |
|
Bug type SF_SWITCH_FALLTHROUGH (click for details)
In class org.springframework.cglib.core.CodeEmitter In method org.springframework.cglib.core.CodeEmitter.if_cmp(Type, int, Label) At CodeEmitter.java:[lines 199-200] Another occurrence at CodeEmitter.java:[lines 201-202]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.CodeEmitter.if_cmp(Type, int, Label) where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.cglib.core.CodeEmitter In method org.springframework.cglib.core.CodeEmitter.if_cmp(Type, int, Label) At CodeEmitter.java:[lines 170-172] Another occurrence at CodeEmitter.java:[lines 196-202]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.CodeEmitter.unbox(Type) where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.cglib.core.CodeEmitter In method org.springframework.cglib.core.CodeEmitter.unbox(Type) At CodeEmitter.java:[lines 735-758]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.EmitUtils.hash_primitive(CodeEmitter, Type) where one case falls through to the next case |
|
Bug type SF_SWITCH_FALLTHROUGH (click for details)
In class org.springframework.cglib.core.EmitUtils In method org.springframework.cglib.core.EmitUtils.hash_primitive(CodeEmitter, Type) At EmitUtils.java:[lines 452-455]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.EmitUtils.append_string_helper(CodeEmitter, Type, EmitUtils$ArrayDelimiters, Customizer, ProcessArrayCallback) where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.cglib.core.EmitUtils In method org.springframework.cglib.core.EmitUtils.append_string_helper(CodeEmitter, Type, EmitUtils$ArrayDelimiters, Customizer, ProcessArrayCallback) At EmitUtils.java:[lines 586-605]
|
|
SF
|
Switch statement found in org.springframework.cglib.core.EmitUtils.hash_primitive(CodeEmitter, Type) where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.cglib.core.EmitUtils In method org.springframework.cglib.core.EmitUtils.hash_primitive(CodeEmitter, Type) At EmitUtils.java:[lines 440-455]
|
|
SF
|
Switch statement found in org.springframework.cglib.proxy.Mixin$Generator.generateClass(ClassVisitor) where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.cglib.proxy.Mixin$Generator In method org.springframework.cglib.proxy.Mixin$Generator.generateClass(ClassVisitor) At Mixin.java:[lines 168-176]
|
|
SF
|
Switch statement found in org.springframework.util.xml.StaxEventXMLReader.parseInternal() where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.util.xml.StaxEventXMLReader In method org.springframework.util.xml.StaxEventXMLReader.parseInternal() At StaxEventXMLReader.java:[lines 107-147]
|
|
SF
|
Switch statement found in org.springframework.util.xml.StaxStreamXMLReader.parseInternal() where default case is missing |
|
Bug type SF_SWITCH_NO_DEFAULT (click for details)
In class org.springframework.util.xml.StaxStreamXMLReader In method org.springframework.util.xml.StaxStreamXMLReader.parseInternal() At StaxStreamXMLReader.java:[lines 84-118]
|
|
UrF
|
Unread public/protected field: org.springframework.asm.commons.AdviceAdapter.methodAccess |
|
Bug type URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.asm.commons.AdviceAdapter Field org.springframework.asm.commons.AdviceAdapter.methodAccess In <Unknown>
|
|
UrF
|
Unread public/protected field: org.springframework.asm.commons.AdviceAdapter.methodDesc |
|
Bug type URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.asm.commons.AdviceAdapter Field org.springframework.asm.commons.AdviceAdapter.methodDesc In <Unknown>
|
|
UrF
|
Unread public/protected field: org.springframework.cglib.beans.BulkBean.target |
|
Bug type URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.cglib.beans.BulkBean Field org.springframework.cglib.beans.BulkBean.target At BulkBean.java:[line 118]
|
|
UuF
|
Unused public or protected field: org.springframework.asm.Label.info |
|
Bug type UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.asm.Label Field org.springframework.asm.Label.info In <Unknown>
|
|
UwF
|
Unwritten public or protected field: org.springframework.cglib.reflect.MethodDelegate.eqMethod |
|
Bug type UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.cglib.reflect.MethodDelegate Field org.springframework.cglib.reflect.MethodDelegate.eqMethod At MethodDelegate.java:[line 136]
|
|
UwF
|
Unwritten public or protected field: org.springframework.cglib.reflect.MethodDelegate.target |
|
Bug type UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.cglib.reflect.MethodDelegate Field org.springframework.cglib.reflect.MethodDelegate.target At MethodDelegate.java:[line 136]
|
|
UwF
|
Unwritten public or protected field: org.springframework.cglib.util.ParallelSorter.a |
|
Bug type UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD (click for details)
In class org.springframework.cglib.util.ParallelSorter Field org.springframework.cglib.util.ParallelSorter.a At ParallelSorter.java:[line 72]
|
The equals(Object o)
method shouldn't make any assumptions
about the type of o
. It should simply return
false if o
is not the same type as this
.
Using new Integer(int)
is guaranteed to always result in a new object whereas
Integer.valueOf(int)
allows caching of values to be done by the compiler, class library, or JVM.
Using of cached values avoids object allocation and the code will be faster.
Values between -128 and 127 are guaranteed to have corresponding cached instances
and using valueOf
is approximately 3.5 times faster than using constructor.
For values outside the constant range the performance of both styles is the same.
Unless the class must be compatible with JVMs predating Java 1.5,
use either autoboxing or the valueOf()
method when creating instances of
Long
, Integer
, Short
, Character
, and Byte
.
This instruction assigns a value to a local variable,
but the value is not read or used in any subsequent instruction.
Often, this indicates an error, because the value computed is never
used.
Note that Sun's javac compiler often generates dead stores for
final local variables. Because FindBugs is a bytecode-based tool,
there is no easy way to eliminate these false positives.
Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly.
The equals and hashCode
method of URL perform domain name resolution, this can result in a big performance hit.
See http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html for more information.
Consider using java.net.URI
instead.
Returning a reference to a mutable object value stored in one of the object's fields
exposes the internal representation of the object.
If instances
are accessed by untrusted code, and unchecked changes to
the mutable object would compromise security or other
important properties, you will need to do something different.
Returning a new copy of the object is better approach in many situations.
This code stores a reference to an externally mutable object into the
internal representation of the object.
If instances
are accessed by untrusted code, and unchecked changes to
the mutable object would compromise security or other
important properties, you will need to do something different.
Storing a copy of the object is better approach in many situations.
This class extends a class that defines an equals method and adds fields, but doesn't
define an equals method itself. Thus, equality on instances of this class will
ignore the identity of the subclass and the added fields. Be sure this is what is intended,
and that you don't need to override the equals method. Even if you don't need to override
the equals method, consider overriding it anyway to document the fact
that the equals method for the subclass just return the result of
invoking super.equals(o).
This code compares java.lang.String
objects for reference
equality using the == or != operators.
Unless both strings are either constants in a source file, or have been
interned using the String.intern()
method, the same string
value may be represented by two different String objects. Consider
using the equals(Object)
method instead.
This method performs synchronization an object that is an instance of
a class from the java.util.concurrent package (or its subclasses). Instances
of these classes have their own concurrency control mechanisms that are orthogonal to
the synchronization provided by the Java keyword synchronized
. For example,
synchronizing on an AtomicBoolean
will not prevent other threads
from modifying the AtomicBoolean
.
Such code may be correct, but should be carefully reviewed and documented,
and may confuse people who have to maintain the code at a later date.
This static field public but not final, and
could be changed by malicious code or
by accident from another package.
The field could be made final to avoid
this vulnerability.
A mutable static field could be changed by malicious code or
by accident.
The field could be made package protected to avoid
this vulnerability.
This implementation of equals(Object) violates the contract defined
by java.lang.Object.equals() because it does not check for null
being passed as the argument. All equals() methods should return
false if passed a null value.
This method call passes a null value for a nonnull method parameter.
Either the parameter is annotated as a parameter that should
always be nonnull, or analysis has shown that it will always be
dereferenced.
A method that returns either Boolean.TRUE, Boolean.FALSE or null is an accident waiting to happen.
This method can be invoked as though it returned a value of type boolean, and
the compiler will insert automatic unboxing of the Boolean value. If a null value is returned,
this will result in a NullPointerException.
There is a branch of statement that, if executed, guarantees that
a null value will be dereferenced, which
would generate a NullPointerException
when the code is executed.
Of course, the problem might be that the branch or statement is infeasible and that
the null pointer exception can't ever be executed; deciding that is beyond the ability of FindBugs.
The method creates an IO stream object, does not assign it to any
fields, pass it to other methods that might close it,
or return it, and does not appear to close
the stream on all paths out of the method. This may result in
a file descriptor leak. It is generally a good
idea to use a finally
block to ensure that streams are
closed.
This method compares a reference value to a constant using the == or != operator,
where the correct way to compare instances of this type is generally
with the equals() method.
It is possible to create distinct instances that are equal but do not compare as == since
they are different objects.
Examples of classes which should generally
not be compared by reference are java.lang.Integer, java.lang.Float, etc.
This method contains a redundant check of a known non-null value against
the constant null.
This method uses a try-catch block that catches Exception objects, but Exception is not
thrown within the try block, and RuntimeException is not explicitly caught. It is a common bug pattern to
say try { ... } catch (Exception e) { something } as a shorthand for catching a number of types of exception
each of whose catch blocks is identical, but this construct also accidentally catches RuntimeException as well,
masking potential bugs.
A better approach is to either explicitly catch the specific exceptions that are thrown,
or to explicitly catch RuntimeException exception, rethrow it, and then catch all non-Runtime Exceptions, as shown below:
try {
...
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
... deal with all non-runtime exceptions ...
}
The code contains a conditional test is performed twice, one right after the other
(e.g., x == 0 || x == 0
). Perhaps the second occurrence is intended to be something else
(e.g., x == 0 || y == 0
).
This code invoked a compareTo or compare method, and checks to see if the return value is a specific value,
such as 1 or -1. When invoking these methods, you should only check the sign of the result, not for any specific
non-zero value. While many or most compareTo and compare methods only return -1, 0 or 1, some of them
will return other values.
This method returns a value that is not checked. The return value should be checked
since it can indicate an unusual or unexpected function execution. For
example, the File.delete()
method returns false
if the file could not be successfully deleted (rather than
throwing an Exception).
If you don't check the result, you won't notice if the method invocation
signals unexpected behavior by returning an atypical return value.
This class implements the Comparator
interface. You
should consider whether or not it should also implement the Serializable
interface. If a comparator is used to construct an ordered collection
such as a TreeMap
, then the TreeMap
will be serializable only if the comparator is also serializable.
As most comparators have little or no state, making them serializable
is generally easy and good defensive programming.
This Serializable class defines a non-primitive instance field which is neither transient,
Serializable, or java.lang.Object
, and does not appear to implement
the Externalizable
interface or the
readObject()
and writeObject()
methods.
Objects of this class will not be deserialized correctly if a non-Serializable
object is stored in this field.
This method contains a switch statement where default case is missing.
Usually you need to provide a default case.
Because the analysis only looks at the generated bytecode, this warning can be incorrect triggered if
the default case is at the end of the switch statement and doesn't end with a break statement.
This method contains a switch statement where one case branch will fall through to the next case.
Usually you need to end this case with a break or return.
This class is an inner class, but does not use its embedded reference
to the object which created it. This reference makes the instances
of the class larger, and may keep the reference to the creator object
alive longer than necessary. If possible, the class should be
made static.
This class implements the Serializable
interface, but does
not define a serialVersionUID
field.
A change as simple as adding a reference to a .class object
will add synthetic fields to the class,
which will unfortunately change the implicit
serialVersionUID (e.g., adding a reference to String.class
will generate a static field class$java$lang$String
).
Also, different source code to bytecode compilers may use different
naming conventions for synthetic variables generated for
references to class objects or inner classes.
To ensure interoperability of Serializable across versions,
consider adding an explicit serialVersionUID.
This anonymous class defined a method that is not directly invoked and does not override
a method in a superclass. Since methods in other classes cannot directly invoke methods
declared in an anonymous class, it seems that this method is uncallable. The method
might simply be dead code, but it is also possible that the method is intended to
override a method declared in a superclass, and due to an typo or other error the method does not,
in fact, override the method it is intended to.
This field is never read.
The field is public or protected, so perhaps
it is intended to be used with classes not seen as part of the analysis. If not,
consider removing it from the class.
This field is never used.
The field is public or protected, so perhaps
it is intended to be used with classes not seen as part of the analysis. If not,
consider removing it from the class.
No writes were seen to this public/protected field. All reads of it will return the default
value. Check for errors (should it have been initialized?), or remove it if it is useless.
This method accesses the value of a Map entry, using a key that was retrieved from
a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the
Map.get(key) lookup.


ConstraintValidator
implementations for
Positive
, PositiveOrZero
,
Negative
and NegativeOrZero
constraints.See: Description
| Class | Description |
|---|---|
| NegativeOrZeroValidatorForBigDecimal |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForBigInteger |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForByte |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForDouble |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForFloat |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForInteger |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForLong |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForNumber |
Check that the number being validated is negative.
|
| NegativeOrZeroValidatorForShort |
Check that the number being validated is negative.
|
| NegativeValidatorForBigDecimal |
Check that the number being validated is negative.
|
| NegativeValidatorForBigInteger |
Check that the number being validated is negative.
|
| NegativeValidatorForByte |
Check that the number being validated is negative.
|
| NegativeValidatorForDouble |
Check that the number being validated is negative.
|
| NegativeValidatorForFloat |
Check that the number being validated is negative.
|
| NegativeValidatorForInteger |
Check that the number being validated is negative.
|
| NegativeValidatorForLong |
Check that the number being validated is negative.
|
| NegativeValidatorForNumber |
Check that the number being validated is negative.
|
| NegativeValidatorForShort |
Check that the number being validated is negative.
|
| PositiveOrZeroValidatorForBigDecimal |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForBigInteger |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForByte |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForDouble |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForFloat |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForInteger |
Check that the number being validated positive.
|
| PositiveOrZeroValidatorForLong |
Check that the number being validated positive.
|
| PositiveOrZeroValidatorForNumber |
Check that the number being validated is positive.
|
| PositiveOrZeroValidatorForShort |
Check that the number being validated is positive.
|
| PositiveValidatorForBigDecimal |
Check that the number being validated is positive.
|
| PositiveValidatorForBigInteger |
Check that the number being validated is positive.
|
| PositiveValidatorForByte |
Check that the number being validated is positive.
|
| PositiveValidatorForDouble |
Check that the number being validated is positive.
|
| PositiveValidatorForFloat |
Check that the number being validated is positive.
|
| PositiveValidatorForInteger |
Check that the number being validated positive.
|
| PositiveValidatorForLong |
Check that the number being validated positive.
|
| PositiveValidatorForNumber |
Check that the number being validated is positive.
|
| PositiveValidatorForShort |
Check that the number being validated is positive.
|
ConstraintValidator
implementations for
Positive
, PositiveOrZero
,
Negative
and NegativeOrZero
constraints.Copyright © 2007-2020 Red Hat, Inc. All Rights Reserved


Reading List
Or rather a read list.
List View
Tile View
The source of this can be found
on github.
×


0
Click (or press the spacebar) to place the block
Game Over
You did great, you're the best.
Click or spacebar to start again
Start


The US is the world's biggest source of instability: senior Chinese diplomat
The United States is the biggest source of global instability, the Chinese foreign ministry reported China's top diplomat as saying on Saturday.
BEIJING: The United States is the biggest source of global instability, the Chinese foreign ministry reported China's top diplomat as saying on Saturday.
Chinese State Councillor Wang Yi said U.S. politicians are smearing China globally without providing evidence and using statecraft to suppress legitimate Chinese business interests.
Wang made the comments in a meeting with the Dutch Foreign Minister at a meeting of G20 foreign ministers in Japan, the ministry said.
(Reporting by Cate Cadell; Editing by Kirsten Donovan)


{% load static %}
Surround AI example 1. Line
Surround AI example 2. circle
Surround AI example 3. squre
1. Addition
The Sum is {{ totaladd }}
2. Subtraction
The Difference is {{ totalsub }}


See: Description
| Class | Description |
|---|---|
| TransformationApplicator |
This class applies a transformation to the dataset.
|
| TransformationChecker |
This class orchestrates the process of transforming and analyzing a dataset.
|
| TransformationCheckerStateMachine |
This class implements a state machine, which determines which optimizations
can be applied to the current transition depending on the previous
transition.
|
| TransformationCheckerStateMachine.Transition |
The resulting transition.
|
| TransformationResult |
The result of a check of a transformation.
|
| TransformedData |
Helper class to convey buffers.
|
| Transformer |
The class Transformer.
|
| Enum | Description |
|---|---|
| TransformationChecker.ScoreType |
The type of scores.
|
| TransformationCheckerStateMachine.TransitionType |
The possible transition type.
|


We're sorry but trianon_pwa doesn't work properly without JavaScript enabled. Please enable it to continue.


Calendar
UI Element/Calendar
Calendar
Prev
Today
Next
Year
Month
Week
Day
First day of week language-dependant
First day of week is Sunday
First day of week is Monday
Language
Dutch
French
German
Greek
Italian
Polish
Portuguese (Brazil)
Spanish (Mexico)
Spanish (Spain)
Russian
Swedish


title=Breaking the 1000ms Time to Glass Mobile Barrier date=2013-04-11 type=post tags=blog status=published ~~~~~~
I just found this video on reddit.com, Breaking the 1000ms Time to Glass Mobile Barrier.
It's a video from a Googler - Ilya Grigorik - on delivering applications that render in under much less than 1000ms, not just time to first byte.
This is particularly interesting because he's got a lot of great data points on user tendencies given slower experiences, and on experiences on the dektop vs. mobile, etc.
I don't expect this is all completely new to anyone, but I certainly learned a few things! This is a nice talk if you like performance, and could definitely inform some of the discussion on resource pipelines, mobile, and javascript and web applications.