Skip to content

generated variable names with ı instead i #883

Description

@Runomu

I'm using mapstruct in spring-boot with component model 'spring'. My problem is generated variable names have ı instead i. i'm using IDEA and encoding for editor is already set to UTF-8. i have also set encoding to UTF-8 in maven properties. But i can't still generate concrete classes with 'i' instead of 'ı'. After Build success it becomes 'ı'. And if i try to deploy, make module in IDEA fails and all 'ı' in code become question marks. Code looks like following:

`
@generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2016-09-05T00:38:27+0300",
comments = "version: 1.0.0.Final, compiler: javac, environment: Java 1.8.0_74 (Oracle Corporation)"
)
@component
public class VeininvoiceMapperImpl extends VeininvoiceMapper {

@Autowired
private LocalDateMapper localDateMapper;
@Autowired
private BoxTypeMapper boxTypeMapper;
@Autowired
private InvoiceStatusCodeMapper ?nvoiceStatusCodeMapper;
@Autowired
private SenderLabelMapper senderLabelMapper;
@Autowired
private PostboxLabelMapper postboxLabelMapper;
@Autowired
private VeinpartnerMapper veinpartnerMapper;

@Override
public Invoice veininvoiceToDto(Veininvoice veininvoice) {
    if ( veininvoice == null ) {
        return null;
    }

    Invoice ?nvoice = new Invoice();

    ?nvoice.setInvoiceStatusCode( ?nvoiceStatusCodeMapper.statusToDto( veininvoice.getInvoicestatuscode() ) );
    ?nvoice.setBoxType( boxTypeMapper.boxtypeToDto( veininvoice.getBoxtype() ) );
    ?nvoice.setPartner( veinpartnerMapper.veinpartnerToDto( veininvoice.getVeinpartner() ) );
    ?nvoice.setInvoiceNr( veininvoice.getInvoiceNr() );
    ?nvoice.setIsarchive( veininvoice.getIsarchive() );
    ?nvoice.setUblversionid( veininvoice.getUblversionid() );
    ?nvoice.setCustomizationid( veininvoice.getCustomizationid() );
    ?nvoice.setCopyindicator( veininvoice.getCopyindicator() );
    ?nvoice.setIssuedate( localDateMapper.issueDateToCalendar( veininvoice.getIssuedate() ) );
    ?nvoice.setIssuetime( veininvoice.getIssuetime() );
    ?nvoice.setServicetypecode( veininvoice.getServicetypecode() );
    ?nvoice.setNote( veininvoice.getNote() );
    ?nvoice.setCurrencycode( veininvoice.getCurrencycode() );
    ?nvoice.setLinecountnumeric( veininvoice.getLinecountnumeric() );
    ?nvoice.setIsactive( veininvoice.getIsactive() );
    ?nvoice.setSenderLabel( senderLabelMapper.senderLabeltoDto( veininvoice.getSenderLabel() ) );
    ?nvoice.setPostboxLabel( postboxLabelMapper.postboxLabelToDto( veininvoice.getPostboxLabel() ) );
    ?nvoice.setId( veininvoice.getId() );
    ?nvoice.setUuid( veininvoice.getUuid() );

    return ?nvoice;
}

}`

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions