Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-04

Extentions/extensions in fpmimetypes.pp

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers
Noticed this in fpmimetypes.pp:
Type
  TMimeType = Class(TObject)
  private
    FExtensions: String;
    FExtentions: String;
...
  Public
...
    Property Extensions : String Read FExtensions Write FExtentions;
  end;

I wonder if this is correct?
If it is really meant to read from one variable and write to another, perhaps the variable names could be adjusted to reflect their purpose?

Thanks,
Reinier

Reply by email

Michael Van Canneyt
to Reinier Olislagers
Reinier Olislagers wrote 15 lines
Noticed this in fpmimetypes.pp: Type TMimeType = Class(TObject) private FExtensions: String; FExtentions: String; ... Public ... Property Extensions : String Read FExtensions Write FExtentions; end; I wonder if this is correct? If it is really meant to read from one variable and write to another, perhaps the variable names could be adjusted to reflect their purpose?

This is a bug.

Michael.

Reply by email

Michael Van Canneyt
to Michael Van Canneyt
Michael Van Canneyt wrote 21 lines
On Mon, 7 Apr 2014, Reinier Olislagers wrote: > Noticed this in fpmimetypes.pp: > Type > TMimeType = Class(TObject) > private > FExtensions: String; > FExtentions: String; > ... > Public > ... > Property Extensions : String Read FExtensions Write FExtentions; > end; > > I wonder if this is correct? > If it is really meant to read from one variable and write to another, > perhaps the variable names could be adjusted to reflect their purpose? This is a bug.

Fixed in rev. 27501.

Michael.

Reply by email