Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit ed8f821

Browse files
committed
Make it final so it can be inlined
1 parent e3c9514 commit ed8f821

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

app/nodejs-v14/src/main/scala/io/scalajs/nodejs/dns/package.scala

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,34 @@ package object dns {
2929
/////////////////////////////////////////////////////////////////////////////////
3030

3131
// IPV4 addresses, default
32-
val RRTYPE_A: RRType = "A"
32+
final val RRTYPE_A: RRType = "A"
3333

3434
// IPV6 addresses
35-
val RRTYPE_AAAA: RRType = "AAAA"
35+
final val RRTYPE_AAAA: RRType = "AAAA"
3636

3737
// mail exchange records
38-
val RRTYPE_MX: RRType = "MX"
38+
final val RRTYPE_MX: RRType = "MX"
3939

4040
// text records
41-
val RRTYPE_TXT: RRType = "TXT"
41+
final val RRTYPE_TXT: RRType = "TXT"
4242

4343
// SRV records
44-
val RRTYPE_SRV: RRType = "SRV"
44+
final val RRTYPE_SRV: RRType = "SRV"
4545

4646
// PTR records
47-
val RRTYPE_PTR: RRType = "PTR"
47+
final val RRTYPE_PTR: RRType = "PTR"
4848

4949
// name server records
50-
val RRTYPE_NS: RRType = "NS"
50+
final val RRTYPE_NS: RRType = "NS"
5151

5252
// canonical name records
53-
val RRTYPE_CNAME: RRType = "CNAME"
53+
final val RRTYPE_CNAME: RRType = "CNAME"
5454

5555
// start of authority record
56-
val RRTYPE_SOA: RRType = "SOA"
56+
final val RRTYPE_SOA: RRType = "SOA"
5757

5858
// name authority pointer record
59-
val RRTYPE_NAPTR: RRType = "NAPTR"
59+
final val RRTYPE_NAPTR: RRType = "NAPTR"
6060

6161
/**
6262
* DNS Extensions

0 commit comments

Comments
 (0)