javacc / javaccPlugin

A JavaCC plugin for Gradle
MIT License
33 stars 16 forks source link

Change initial capacity of options Hashmap #44

Closed katsadim closed 5 years ago

katsadim commented 6 years ago

This is a minor change that changes the initial capacity of a hashmap so there won't be a need for a rehashing operation.

Although three entries are added to the options hashmap, the initial capacity is set to two.

codecov-io commented 6 years ago

Codecov Report

Merging #44 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             master      #44    +/-   ##
==========================================
  Coverage     87.73%   87.73%            
- Complexity        0      149   +149     
==========================================
  Files            23       23            
  Lines           432      432            
  Branches         39       28    -11     
==========================================
  Hits            379      379            
  Misses           49       49            
  Partials          4        4
Impacted Files Coverage Δ Complexity Δ
...ca/coglinc/gradle/plugins/javacc/JavaccPlugin.java 93.93% <100%> (ø) 9 <1> (+9) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f001e5f...35ba439. Read the comment docs.