-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TextMatcherEnvelope should call asString()
only once at all
#132
Comments
@llorllale/z please, pay attention to this issue |
@victornoel funny - I was just reading this today. I'm closing this issue and deferring this conversation for later. I'll accept your PR in yegor256/cactoos#1145 as is |
Job |
This job is not in scope |
@llorllale I've read it too, I don't agree with the content personally. That being said, I don't think this issue is about caching or not caching, it is just about having a consistent behaviour of |
@victornoel what do you propose? Wrap it in |
@llorllale I would have done something like that yes I think |
@0crat in |
@llorllale/z please, pay attention to this issue |
@llorllale Job #132 is now in scope, role is |
Bug was reported, see §29: +15 point(s) just awarded to @victornoel/z |
The architect of the project has changed; @llorllale/z is not at this role anymore; @paulodamaso/z is the architect now |
@paulodamaso I'm blocked by this to solve other issues in cactoos, the fix is quite simple, can this be proactively assigned to somebody and a release made if possible? |
@victornoel Can you do it for us? |
@paulodamaso yes |
@0crat assign @victornoel |
@victornoel Thanks! |
@paulodamaso The job #132 assigned to @victornoel/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job |
@paulodamaso There is an unrecoverable failure on my side. Please, submit it here:
0.49.12: CID: 83a83d7a-f893-4ce9-9d24-3d070b7eb495, Type: "Order was canceled" |
Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @paulodamaso/z |
It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @paulodamaso/z |
@victornoel The impediment for #132 was registered successfully by @victornoel/z |
@paulodamaso can we get a new release of cactoos-matchers now that this has been merged? |
@sereshqua/z please review this job completed by @victornoel/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
The job #132 is now out of scope |
@victornoel we will need to make sure that problem reporter and problem solver are two different persons next time |
@sereshqua yes I agree |
@0crat quality acceptable |
Quality review completed: +4 point(s) just awarded to @sereshqua/z |
Order was finished, quality is "acceptable": +30 point(s) just awarded to @victornoel/z |
@
@victornoel of course |
@rultor release tag is |
@paulodamaso OK, I will release it now. Please check the progress here |
@paulodamaso Done! FYI, the full log is here (took me 11min) |
@paulodamaso thx |
All the
Matcher<Text>
that relies onTextMatcherEnvelope
suffers from havingasString()
being called multiple times.In some case it can be a problem, for example when a
Text
is based on anInputStream
that can be read only once. See for example yegor256/cactoos#1145 (comment)I believe
TextMatcherEnvelope
should wrapstext
into some kind ofSticky
decorator to avoid any problem.The text was updated successfully, but these errors were encountered: