oblac / jodd

Jodd! Lightweight. Java. Zero dependencies. Use what you like.

Home Page:https://jodd.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boo or bar?

libinjareo opened this issue · comments

Current behavior

when i read the document from https://jodd.org/petite/wiring.html,
I am puzzled by a sentence, please help me to explain it:

Knowing this, in the previous example Petite lookups for the following bean names:

boo

boo (ignored as equals to #1)

org.jodd.Boo

The previous example in the document, like this:
public class Foo { @PetiteInject Bar bar; public void foo() { bar.boo(); } }
so Petite lookups for the following bean names should bar instead of boo?

Expected behavior

Steps to Reproduce the Problem

Correct! Fixed. To be deployed later today.