Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong Java Format including numbers

Claus February 24, 2013

If I have a number in my Java-Code it is not formated like

return 0;

It will be shown as

return
0
;

This is a bug as it can be reproduced every time

5 answers

1 accepted

0 votes
Answer accepted
Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2013

Just released 1.6.3 on Atlassian Marketplace. Please update and thanks for bringing up this issue.

Kind regards
Holger

Claus April 9, 2013

It works, if I find another bug in this case I will report tomorrow.

0 votes
Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2013

I can confirm, you are right. The bug is still in v1.6.2. It is fixed in source, but jar build went wrong, so bugfix is not included in v1.6.2.

Will work on v1.6.3 in the next days to fix this problem.

Kind regards
Holger

0 votes
Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 4, 2013

Which JIRA version and which browser version are you using?

Did you restart your browser after updating the plugin (because this might be a caching problem)?

Claus April 7, 2013
We use Jira 5.2.6 with Chrome and Firefox in Windows.
I additionally tried it in Chrome in iOS6
Thats what HTML-Code is generated
<div class="container">
  <div class="line number0 index0 alt2">
<code class="java value">2013</code>
<code class="java plain">-</code>
<code class="java value">01</code>
<code class="java plain">-</code>
<code class="java value">24</code> 
<code class="java value">11</code>
<code class="java plain">:</code>
<code class="java value">59</code>
<code class="java plain">:</code>
<code class="java value">10</code>
<code class="java plain">,</code>
<code class="java value">877</code> 
...

Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2013

The HTML code is fine. The problem is CSS class "value", which is also used now by JIRA view issue page since 5.2.

0 votes
eMundo GmbH Support Team April 4, 2013

Sorry but in current version this error still applies.

But thanks for your response

0 votes
Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2013

This is fixed in the latest release of the JIRA Syntax Highlighter plugin. See https://bitbucket.org/hski/syntaxplugin-public/issue/23/rendeer-problems-with-python-code for more details.

Kind regards
Holger

P.S. Please report bugs here https://bitbucket.org/hski/syntaxplugin-public/issues?status=new&status=open. Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events