# Water changes Sources Code after compilation

**URL:** https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543
**Category:** Water
**Created:** [November 28, 2022, 3:38pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543 "2022-11-28T15:38:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Adrian\_Veith](https://talk.remobjects.com/user_avatar/talk.remobjects.com/adrian_veith/32/4169_2.png) [@Adrian\_Veith](https://talk.remobjects.com/u/Adrian_Veith)
#### Post date: [November 28, 2022, 3:38pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543/1 "2022-11-28T15:38:43Z")

</div>

![Peek 2022-11-28 16-32](https://talk.remobjects.com/uploads/default/original/3X/e/e/ee51e6abf7d636300a46d49b03f8ed83b1d19aa4.gif)  
in latest Water Version 11.0.0.2793 I get this behavior shown in the .gif. Target is Java. Water wants to change the case of the first letter in ‘ToString’ to lowercase, but destroys the source line.  
Cheers Adrian.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [November 28, 2022, 4:20pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543/2 "2022-11-28T16:20:16Z")

</div>

> [@Adrian\_Veith](#):
>
> in latest Water Version 11.0.0.2793 I get this behavior shown in the .gif. Target is Java. Water wants to change the case of the first letter in ‘ToString’ to lowercase, but destroys the source line.

that’s curious. it somehow gets the wrong offset for the auto-fix. Can I see this project/file?

---

<div class="post-metadata">

### Author: ![Adrian\_Veith](https://talk.remobjects.com/user_avatar/talk.remobjects.com/adrian_veith/32/4169_2.png) [@Adrian\_Veith](https://talk.remobjects.com/u/Adrian_Veith)
#### Post date: [November 28, 2022, 5:08pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543/3 "2022-11-28T17:08:47Z")

</div>

[BugWater.zip](https://talk.remobjects.com/uploads/short-url/mtY9YNr6MnYwgqAKw9Llqy39iic.zip) (3.3 KB)  
here you go.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [November 28, 2022, 5:55pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543/4 "2022-11-28T17:55:13Z")

</div>

Logged as [bugs://E26296](https://www.remobjects.com/portal/bugs/?id=E26296).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 15, 2023, 7:48pm UTC](https://talk.remobjects.com/t/water-changes-sources-code-after-compilation/27543/5 "2023-02-15T19:48:26Z")

</div>

[bugs://E26296](https://www.remobjects.com/portal/bugs/?id=E26296) was closed as fixed.
